signInProvider property
String?
get
signInProvider
The sign-in provider through which the ID token was obtained (anonymous, custom, phone, password, etc). Note, this does not map to provider IDs.
Implementation
String? get signInProvider => _decodedToken.claims['firebase'] == null
? null
: _decodedToken.claims['firebase']['sign_in_provider'];