AuthProvider.custom constructor

const AuthProvider.custom(
  1. String developerProvidedName
)

Custom auth provider that is not in this list, the associated string value will be the identifier used by Cognito.

The developerProvidedName should match whatever has been configured in your user pool and/or identity pool.

Implementation

const AuthProvider.custom(String developerProvidedName)
    : name = developerProvidedName,
      _identityPoolProvider = null;