Configuration

public struct Configuration

IDP Configuration

  • Initialize IDP Configuration

    Declaration

    Swift

    public init(clientId: String,
                redirectURI: URL,
                extAuthRedirectURI: URL,
                discoveryURL: URL,
                scopes: [IDPScope])

    Parameters

    clientId

    client id

    redirectURL

    token exchange redirect URL

    discoveryURL

    IDP server discovery document URL

    scopes

    List of scopes to be authorized by the user.