Casdoor class

Constructors

Casdoor({required AuthConfig config})

Properties

codeVerifier String
latefinal
config AuthConfig
final
hashCode int
The hash code for this object.
no setterinherited
nonce String
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decodedToken(String token) Map<String, dynamic>
getSigninUrl({String scope = 'read', String? state}) Uri
getSignupUrl({String scope = 'read', String? state}) Uri
getUserInfo(String accessToken) Future<Response>
isNonce(String token) bool
isTokenExpired(String token) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseHost() String
parsePort() int
parseScheme() String
refreshToken(String refreshToken, String? clientSecret, {String scope = 'read'}) Future<Response>
requestOauthAccessToken(String code) Future<Response>
show({String scope = 'read', String? state}) Future<String>
showFullscreen(BuildContext buildContext, {bool? isMaterialStyle, String scope = 'read', String? state}) Future<String>
tokenLogout(String idTokenHint, String? postLogoutRedirectUri, String state, {bool clearCache = false}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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