AuthProvider.saml constructor

const AuthProvider.saml(
  1. String name, [
  2. String? providerArn
])

Auth provider that uses Security Assertion Markup Language (SAML).

The provided name must match what was configured in your user pool or in IAM.

When configured through IAM, providerArn must be provided and must match the value assigned by IAM.

For a guide on how to configure a SAML provider in your user pool, see here. For a guide on how to configure a SAML provider in your identity pool, see here.

Implementation

const AuthProvider.saml(this.name, [String? providerArn])
    : _identityPoolProvider = providerArn;