CredentialsManager

public class CredentialsManager : CredentialManagerProtocol

Persist/load/remove the OIDCCredentials

  • Initialises the credentials manager

    Declaration

    Swift

    public init()
  • Fetches the openid credentials from local storage.

    Declaration

    Swift

    public func load() -> OIDCCredentials?

    Return Value

    openid credentials

  • Persists and overwrites the current openid credentials.

    Declaration

    Swift

    public func save(credentials: OIDCCredentials)

    Parameters

    credentials

    openid credentials to save

  • Deletes the currently stored openid credentials.

    Declaration

    Swift

    public func clear()