KindeFlutterSDK class

Properties

authState ↔ AuthState?
getter/setter pairinherited-setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createOrg({required String orgName, AuthFlowType? type}) Future<void>
getBooleanFlag({required String code, bool? defaultValue}) bool?
inherited
getClaim({required String claim, TokenType tokenType = TokenType.accessToken}) Claim
inherited
getFlag({required String code, dynamic defaultValue, FlagType? type}) Flag?
inherited
getIntegerFlag({required String code, int? defaultValue}) int?
inherited
getOrganization() ClaimOrganization
inherited
getPermission(String permission) ClaimPermission
inherited
getPermissions() ClaimPermissions
inherited
getStringFlag({required String code, String? defaultValue}) String?
inherited
getToken() Future<String?>
getUser() Future<UserProfile?>
getUserDetails() UserDetails?
inherited
getUserOrganizations() ClaimOrganizations
inherited
getUserProfileV2() Future<UserProfileV2?>
handleError(Exception error) Exception
inherited
isAuthenticate() Future<bool>
login({AuthFlowType? type, String? orgCode}) Future<String?>
logout() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseToken(String? token) Map
inherited
register({AuthFlowType? type, String? orgCode}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance KindeFlutterSDK
no setter

Static Methods

initializeSDK({required String authDomain, required String authClientId, required String loginRedirectUri, required String logoutRedirectUri, List<String> scopes = _defaultScopes, String? audience}) Future<void>