instance property
OktaOidcPlatform
get
instance
The default instance of OktaOidcPlatform to use.
Defaults to MethodChannelOktaOidc.
Implementation
static OktaOidcPlatform get instance => _instance;
set
instance
(OktaOidcPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends OktaOidcPlatform when they register themselves.
Implementation
static set instance(OktaOidcPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}