User class

Constructors

User()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

getAvailableThemes(HttpClient client) Future<ListOfUserThemeResponse>
Returns a list of all available user themes.
getBungieNetUserById(HttpClient client, String id) Future<GeneralUserResponse>
Loads a bungienet user by membership id.
getCredentialTypesForTargetAccount(HttpClient client, String membershipId) Future<ListOfGetCredentialTypesForAccountResponseResponse>
Returns a list of credential types attached to the requested account
getMembershipDataById(HttpClient client, String membershipId, BungieMembershipType membershipType) Future<UserMembershipDataResponse>
Returns a list of accounts associated with the supplied membership ID and membership type. This will include all linked accounts (even when hidden) if supplied credentials permit it.
getMembershipDataForCurrentUser(HttpClient client) Future<UserMembershipDataResponse>
Returns a list of accounts associated with signed in user. This is useful for OAuth implementations that do not give you access to the token response.
getMembershipFromHardLinkedCredential(HttpClient client, String credential, BungieCredentialType crType) Future<HardLinkedUserMembershipResponse>
Gets any hard linked membership given a credential. Only works for credentials that are public (just SteamID64 right now). Cross Save aware.
getSanitizedPlatformDisplayNames(HttpClient client, String membershipId) Future<CEDictionaryOfBungieCredentialTypeAndstringResponse>
Gets a list of all display names linked to this membership id but sanitized (profanity filtered). Obeys all visibility rules of calling user and is heavily cached.
searchByGlobalNamePost(HttpClient client, int page, UserSearchPrefixRequest body) Future<UserSearchResponseResponse>
Given the prefix of a global display name, returns all users who share that name.
searchByGlobalNamePrefix(HttpClient client, String displayNamePrefix, int page) Future<UserSearchResponseResponse>
OBSOLETE Do not use this to search users, use SearchByGlobalNamePost instead.