Tokenizer class abstract

Implementers
Annotations
  • @SPI(name: "mpi")

Constructors

Tokenizer()

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

accept(String code, {Context? ctx}) Future<AccessCode?>
Accept OAuth2 accept grant code.
apply(String kind, Duration duration, {Context? ctx}) Future<String?>
Apply
authenticate(String token, {Context? ctx}) Future<AccessID?>
Authenticate OAuth2 authenticate.
authorize(String code, {Context? ctx}) Future<AccessToken?>
Authorize OAuth2 code authorize.
captcha(String kind, Map<String, String> features, {Context? ctx}) Future<Captcha?>
Captcha apply a graphics captcha.
grant(Credential credential, {Context? ctx}) Future<AccessGrant?>
Grant OAuth2 code grant.
matches(String mno, String value, {Context? ctx}) Future<bool?>
Matches a graphics captcha value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quickauth(Credential credential, {Context? ctx}) Future<AccessToken?>
Quickauth OAuth2 quick authorize, contains grant code and code authorize.
refresh(String token, {Context? ctx}) Future<AccessToken?>
Refresh OAuth2 auth token refresh.
reject(String code, {Context? ctx}) Future<void>
Reject OAuth2 reject grant code.
toString() String
A string representation of this object.
inherited
verify(String token, {Context? ctx}) Future<bool?>
Verify

Operators

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