AuthenticationMethodCustom

public final class AuthenticationMethodCustom : AuthenticationSingleStepMethod

A method that delegates authentication of the current user to a third-party identity provider, ad hoc for the application.

Initializers

  • Creates a new instance.

    Declaration

    Swift

    public init(providerIdentifier: String, credentials: String, file: StaticString = #fileID, line: UInt = #line)

    Parameters

    providerIdentifier

    The identifier of the custom provider on the back-end.

    credentials

    The credentials of the user for the provider.

    file

    The file from which the method is called. This is used for debugging purposes.

    line

    The line from which the method is called. This is used for debugging purposes.

AuthenticationMethod Protocol

CustomDebugStringConvertible Protocol

  • Declaration

    Swift

    public var debugDescription: String { get }