IdPClient

public struct IdPClient

IdPClient is a representation of OAuth2 / OIDC client information to perfrom social login against selected provider

  • Provider identifier value defined for selected Social Identity Provider from AM

    Declaration

    Swift

    public let provider: String
  • Client identifier value defined for selected Social Identity Provider from AM

    Declaration

    Swift

    public let clientId: String
  • Redirect URI value defined for selected Social Identity Provider from AM

    Declaration

    Swift

    public let redirectUri: String
  • An array of scope values in array for selected Social Identity Provider from AM

    Declaration

    Swift

    public let scopes: [String]?
  • Optional nonce string value for selected Social Identity Provider from AM

    Declaration

    Swift

    public let nonce: String?
  • An array of ACR values for selected Social Identity Provider from AM

    Declaration

    Swift

    public let acrValues: [String]?
  • Request string value for selected Social Identity Provider from AM

    Declaration

    Swift

    public let request: String?
  • Request URI value for selected Social Identity Provider from AM

    Declaration

    Swift

    public let requestUri: String?
  • Accepts new JSON format for Sign In with Apple. New versions of AM will send that as ‘true’ for Sign in With Apple and false for all other IDPs. Old versions of AM will not send this output and the default ‘false’ value will be assumed.

    Declaration

    Swift

    public var acceptsJSON: Bool