OAuth2Endpoints class

Wrapper for all OAuth2 endpoints

Annotations
  • @JsonSerializable.new()

Constructors

OAuth2Endpoints({required String authorization, required String token, String? revocation, String? endSession})
Construct with explicit URLs
OAuth2Endpoints.base(String base, {String authorization = 'authorize', String token = 'token', String revocation = 'revoke', String endSession = 'end_session'})
Construct with a base URL
OAuth2Endpoints.fromJson(Map<String, dynamic> json)
From json
factory

Properties

authorization Uri
URI for authorization
final
endSession Uri?
URI to end the current session
final
hashCode int
The hash code for this object.
no setterinherited
revocation Uri?
URI for token revocation
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token Uri
URI for token exchange
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
To json
toString() String
A string representation of this object.
inherited

Operators

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