SpecificKeycloakConfig
type SpecificKeycloakConfig = object;Defined in: types/config.type.ts:13
Keycloak-related configuration
Properties
expirationOffset?
optional expirationOffset: number;Defined in: types/config.type.ts:90
This property allows to add offset (in milliseconds) to the expiration of the Access Token.\
Since
1.0.0
Author
Simon Kovtyk
guardFallbackCallback?
optional guardFallbackCallback: GuardFallbackFn;Defined in: types/config.type.ts:48
Guard-URL the user gets redirected to, when securing router with keycloakGuard and missing authentication.
Since
1.0.0
Author
Simon Kovtyk
guardFallbackUrl?
optional guardFallbackUrl: string;Defined in: types/config.type.ts:34
Fallback-URL the user gets redirected to, when securing router with keycloakGuard and missing authentication.
Since
1.0.0
Author
Simon Kovtyk
realm
realm: string;Defined in: types/config.type.ts:27
The realm from Keycloak specification.
Since
1.0.0
Author
Simon Kovtyk
resource
resource: string;Defined in: types/config.type.ts:20
The resource our client is accessing. This option will be appended into the requests' body as form data with the key "client_id"
Since
1.0.0
Author
Simon Kovtyk
reverseGuardFallbackCallback?
optional reverseGuardFallbackCallback: GuardFallbackFn;Defined in: types/config.type.ts:55
Guard-URL the user gets redirected to, when securing router with keycloakGuard and existing authentication.
Since
1.0.0
Author
Simon Kovtyk
reverseGuardFallbackUrl?
optional reverseGuardFallbackUrl: string;Defined in: types/config.type.ts:41
Fallback-URL the user gets redirected to, when securing router with keycloakGuard and existing authentication.
Since
1.0.0
Author
Simon Kovtyk
storageKey
storageKey: string;Defined in: types/config.type.ts:69
This property enables the customization of the key, where the storage (if enabled) should store the values.
Since
1.0.0
Author
Simon Kovtyk
storageType
storageType: Storage;Defined in: types/config.type.ts:62
This property allows to specify, which storage should be used to store value.
Since
1.0.0
Author
Simon Kovtyk
timeout?
optional timeout: number;Defined in: types/config.type.ts:83
This property is for controlling the HTTP request timeout (in milliseconds).\
Since
1.0.0
Author
Simon Kovtyk
updateStrategy
updateStrategy: UpdateStrategy;Defined in: types/config.type.ts:97
Update strategy for handling token updates
Since
1.0.0
Author
Simon Kovtyk
useEmailAsCurrentUser?
optional useEmailAsCurrentUser: boolean;Defined in: types/config.type.ts:76
With this property set to true, the email given by KeycloakService.login() will be used as currentUser HTTP requests header field as long as the KeycloakInterceptor is used.
Since
1.0.0
Author
Simon Kovtyk