AuthProvider

public enum AuthProvider

Supported auth providers that help in federated sign in

You can use these auth providers to directly sign in to one of the user’s social provider and then federate them to the auth plugin’s underlying service. For example in the api Amplify.Auth.signInWithWebUI(for:presentationAnchor:) you can pass in a provider in the for: parameter which will directly show a authentication view for the passed in auth provider.

  • Auth provider that uses Login with Amazon

    Declaration

    Swift

    case amazon
  • Auth provider that uses Sign in with Apple

    Declaration

    Swift

    case apple
  • Auth provider that uses Facebook Login

    Declaration

    Swift

    case facebook
  • Auth provider that uses Google Sign-In

    Declaration

    Swift

    case google
  • Auth provider that uses OpenID Connect Protocol

    Declaration

    Swift

    case oidc
  • Auth provider that uses Security Assertion Markup Language standard

    Declaration

    Swift

    case saml
  • Custom auth provider that is not in this list, the associated string value will be the identifier used by the plugin service.

    Declaration

    Swift

    case custom(String)