ElectronMainAuthorizationConfiguration Interface

Client configuration to generate OIDC/OAuth tokens for native applications

Properties

Name Type Description
authenticationOptions Readonly undefined | AuthenticationOptions Additional options to use for every OIDC authentication request made by ElectronMainAuthorization.  
clientId Readonly string Client application's identifier as registered with the OIDC/OAuth2 provider.  
expiryBuffer Readonly undefined | number Time in seconds that's used as a buffer to check the token for validity/expiry.  
ipcSocket Readonly undefined | IpcSocketBackend Optional custom implementation of IpcSocketBackend to use for IPC communication with the Frontend counterpart of  
issuerUrl Readonly undefined | string The OAuth token issuer URL.  
redirectUris Readonly string[] List of redirect URIs available for use in the OAuth authorization flow.  
scopes Readonly string List of space separated scopes to request access to various resources.  
tokenStorePath Readonly undefined | string Directory path that overrides where the refresh token is stored, see RefreshTokenStore  

Defined in

Last Updated: 03 April, 2024