ResourceOwner class

The properties of an OAuth 2.0 Resource Owner.

Your application's 'user' type must implement the methods declared in this interface. AuthServer can validate the credentials of a ResourceOwner to grant authorization codes and access tokens on behalf of that owner.

Implementers

Constructors

ResourceOwner()

Properties

hashedPassword ↔ String
The hashed password of this instance.
read / write
id → int
A unique identifier of this resource owner. [...]
read-only
salt ↔ String
The salt the hashedPassword was hashed with.
read / write
username ↔ String
The username of the resource owner. [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited