Authgear class
Methods
-
authenticate({required String redirectURI, List<PromptOption>? prompt, List<String>? uiLocales, ColorScheme? colorScheme, AuthenticationPage? page, String? state, String? oauthProviderAlias, String? wechatRedirectURI, String? authenticationFlowGroup})
→ Future<UserInfo>
-
-
authenticateAnonymously()
→ Future<UserInfo>
-
-
authenticateBiometric({required BiometricOptionsIOS ios, required BiometricOptionsAndroid android})
→ Future<UserInfo>
-
-
changePassword({required String redirectURI, List<String>? uiLocales, ColorScheme? colorScheme, String? wechatRedirectURI})
→ Future<void>
-
-
checkBiometricSupported({required BiometricOptionsIOS ios, required BiometricOptionsAndroid android})
→ Future<void>
-
-
configure()
→ Future<void>
-
-
deleteAccount({required String redirectURI, List<String>? uiLocales, ColorScheme? colorScheme, String? wechatRedirectURI})
→ Future<void>
-
-
disableBiometric()
→ Future<void>
-
-
enableBiometric({required BiometricOptionsIOS ios, required BiometricOptionsAndroid android})
→ Future<void>
-
-
getUserInfo()
→ Future<UserInfo>
-
-
internalBuildAuthorizationURL(OIDCAuthenticationRequest oidcRequest)
→ Future<Uri>
-
-
internalCreateAuthenticateRequest(AuthenticateOptions options)
→ Future<InternalAuthenticateRequest>
-
-
internalCreateReauthenticateRequest(String idTokenHint, ReauthenticateOptions options)
→ Future<InternalAuthenticateRequest>
-
-
internalCreateSettingsActionRequest(String clientID, String idTokenHint, String loginHint, SettingsActionOptions options)
→ Future<InternalAuthenticateRequest>
-
-
internalFinishAuthentication({required Uri url, required String redirectURI, required CodeVerifier codeVerifier})
→ Future<UserInfo>
-
-
internalGenerateURL({required String redirectURI, List<String>? uiLocales, ColorScheme? colorScheme, String? wechatRedirectURI})
→ Future<Uri>
-
-
isBiometricEnabled()
→ Future<bool>
-
-
logout({bool force = false})
→ Future<void>
-
-
makePreAuthenticatedURL({required String webApplicationClientID, required String webApplicationURI, String? state})
→ Future<Uri>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
open({required SettingsPage page, List<String>? uiLocales, ColorScheme? colorScheme, String? wechatRedirectURI})
→ Future<void>
-
-
openURL({required String url, String? wechatRedirectURI})
→ Future<void>
-
-
promoteAnonymousUser({required String redirectURI, String? wechatRedirectURI, List<String>? uiLocales, ColorScheme? colorScheme})
→ Future<UserInfo>
-
-
reauthenticate({required String redirectURI, int maxAge = 0, List<String>? uiLocales, ColorScheme? colorScheme, String? oauthProviderAlias, String? wechatRedirectURI, BiometricOptionsIOS? biometricIOS, BiometricOptionsAndroid? biometricAndroid, String? authenticationFlowGroup})
→ Future<UserInfo>
-
-
refreshAccessToken()
→ Future<void>
-
-
refreshIDToken()
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
wechatAuthCallback({required String state, required String code})
→ Future<void>
-
-
wrapHttpClient(Client inner)
→ Client
-