An interface for implementing an OAuth 2.0 resource owner.

In order for an AuthServer to authenticate a resource owner - like a User, Profile or Account in your application - that resource owner class must implement this interface. See the library aqueduct/managed_auth for an implementation of this interface. It is preferred to use aqueduct/managed_auth than trying to implement this interface.

Constructors

Authenticatable()

Properties

hashedPassword → String

The hashed password of this instance.

read / write
id → dynamic

The unique identifier of this instance, typically the primary key of a database entity representing the authenticatable instance.

read-only
salt → String

The salt the hashedPassword was hashed with.

read / write
username → String

The username of the authenticatable resource.

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

Operators

operator ==(other) → bool

The equality operator.

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