Protocols

The following protocols are available globally.

  • Protocol for dispatching requests to authentication Strivacity APIs.

    See more

    Declaration

    Swift

    public protocol IAuthClient
  • Protocol specifies methods which have to be implemented by class that performs requests to the AppAuth framework.

    See more

    Declaration

    Swift

    protocol IAuthService
  • Protocol specifies methods which have to be implemented by class that manages authorization requests to the AppAuth framework.

    See more

    Declaration

    Swift

    protocol IAuthServiceProvider
  • Protocol specifies methods which have to be implemented by class that manages authorization state.

    See more

    Declaration

    Swift

    protocol IAuthStateProvider
  • Protocol specifies methods which have to be implemented by class that performs biometric authentication.

    See more

    Declaration

    Swift

    public protocol IBiometricManager
  • Protocol for obtaining basic OAuth2 endpoints.

    See more

    Declaration

    Swift

    protocol IEndpoints
  • Protocol specifies method which should be implemented by object which manages and validates data obtained from the jwks url.

    See more

    Declaration

    Swift

    protocol IJwksUrlDataManager
  • Interface for callbacks to handle [AuthClient] creation. Called in [AuthProvider.provide] after the user has created [AuthClient] object

    See more

    Declaration

    Swift

    public protocol IProviderCallback
  • Protocol specifies method which should be implemented by object which creates public key.

    See more

    Declaration

    Swift

    protocol IPublicKeyCreator
  • Protocol specifies methods which should be implemented by object which manages auth state storing.

    See more

    Declaration

    Swift

    protocol ISecureStorage
  • Protocol specifies method which should be implemented by id token parser.

    See more

    Declaration

    Swift

    protocol ITokenParser
  • Protocol specifies methods which create basic OAuth 2.0 endpoint URLs.

    See more

    Declaration

    Swift

    protocol IUrlFactory
  • Protocol specifies method which has to be implemented by class manages obtaining data from URL.

    See more

    Declaration

    Swift

    protocol IUrlSessionManager
  • Protocol specifies method which should be implemented by object which validates id token.

    See more

    Declaration

    Swift

    protocol IValidationManager