ResourceOwnerTableDefinition class
REQUIRED: Represents an OAuth 2.0 Resource Owner database table.
An application using this library must declare a ManagedObject subclass whose table definition must extend this type. For example,
class User extends ManagedObject<_User> implements _User, ManagedAuthResourceOwner {}
class _User extends ManagedAuthenticatable { ... }
This requires all resource owners to have a integer primary key, username and hashed password. The ManagedObject subclass must implement ManagedAuthResourceOwner.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashedPassword ↔ String?
-
The hashed password of a resource owner.
getter/setter pairoverride
- id ↔ int?
-
The primary key of a resource owner.
getter/setter pairoverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- salt ↔ String?
-
The salt for hashedPassword.
getter/setter pairoverride
-
tokens
↔ ManagedSet<
ManagedAuthToken> ? -
The list of tokens issue for this resource owner.
getter/setter pair
- username ↔ String?
-
The username of a resource owner.
getter/setter pairoverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited