GoogleIdpAdmin class

Collection of Google-account admin methods.

Constructors

GoogleIdpAdmin({required GoogleIdpUtils utils})
Creates a new instance of GoogleIdpAdmin.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
utils GoogleIdpUtils
Utility functions for the Google identity provider.
final

Methods

fetchAccountDetails(Session session, {required String idToken, required String? accessToken}) Future<GoogleAccountDetails>
Returns the account details for the given idToken and accessToken.
linkGoogleAuthentication(Session session, {required UuidValue authUserId, required GoogleAccountDetails accountDetails, Transaction? transaction}) Future<GoogleAccount>
Adds a Google authentication to the given authUserId.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

findUserByGoogleUserId(Session session, {required String userIdentifier, Transaction? transaction}) Future<UuidValue?>
Return the AuthUser id for the Google user id, if any.