instance property

OidcPlatform get instance

The default instance of OidcPlatform to use.

Defaults to NoOpOidcPlatform which throws an exception on each operation.

Implementation

static OidcPlatform get instance => _instance;
set instance (OidcPlatform instance)

Platform-specific plugins should set this with their own platform-specific class that extends OidcPlatform when they register themselves.

Implementation

static set instance(OidcPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}