GitHubIdpAdmin class
Collection of GitHub-account admin methods.
Constructors
- GitHubIdpAdmin({required GitHubIdpUtils utils})
-
Creates a new instance of GitHubIdpAdmin.
const
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 → GitHubIdpUtils
-
Utility functions for the GitHub identity provider.
final
Methods
-
fetchAccountDetails(
Session session, {required String accessToken}) → Future< GitHubAccountDetails> -
Returns the account details for the given
accessToken. -
linkGitHubAuthentication(
Session session, {required UuidValue authUserId, required GitHubAccountDetails accountDetails, Transaction? transaction}) → Future< GitHubAccount> -
Adds a GitHub 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
-
findUserByGitHubUserId(
Session session, {required String userIdentifier, Transaction? transaction}) → Future< UuidValue?> -
Return the
AuthUserid for the GitHub user id, if any.