src/core/auth/types/smart-authentication-strategy.interface.ts
Contract implemented by every Smart authentication strategy.
Properties |
Methods |
| configure | |||||||||
configure(config: SmartAuthenticationStrategyConfig, context: SmartAuthenticationContext)
|
|||||||||
|
Configures the strategy with the specific authentication configuration.
Parameters :
Returns :
void
|
| dispose |
dispose()
|
|
Cleans up resources.
Returns :
void
|
| getJsdoSession |
getJsdoSession()
|
|
Returns the current JSDO session.
Returns :
progress.data.JSDOSession
|
| isAuthenticated |
isAuthenticated()
|
|
Checks if the user is authenticated.
Returns :
Promise<boolean>
|
| login | ||||||
login(credentials?: ISmartServiceCredentials)
|
||||||
|
Logs the user in.
Parameters :
Returns :
Promise<any>
|
| logout | ||||||
logout(afterLogoutPage?: string)
|
||||||
|
Logs the user out.
Parameters :
Returns :
Promise<void>
|
| strategy |
strategy:
|
Type : string
|
|
The strategy identifier for this strategy (e.g., 'hybridrealm', 'keycloak'). |