Interface

ProviderConfig

ProviderConfig

Your Precise Cryptr config settings for your React application, extending Config

Properties:
Name Type Attributes Default Description
onRedirectCallback function <optional>
DEFAULT_REDIRECT_CALLBACK

The default behaviour after login, see DEFAULT_REDIRECT_CALLBACK

onLogOutCallback function <optional>
DEFAULT_LOGOUT_CALLBACK

The default behaviour after logout, see DEFAULT_LOGOUT_CALLBACK

defaultScopes string <optional>
'openid email profile'

The default scopes you want while opening Cryptr oAuth session

See:

View Source utils/cryptr.interfaces.tsx, line 17

Extends