ResourceOwnerTableDefinition class Null safety
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.
read-onlyinherited
- hashedPassword ↔ String?
-
The hashed password of a resource owner.
read / writeoverride
- id ↔ int?
-
The primary key of a resource owner.
read / writeoverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- salt ↔ String?
-
The salt for hashedPassword.
read / writeoverride
-
tokens
↔ ManagedSet<
ManagedAuthToken> ? -
The list of tokens issue for this resource owner.
read / write
- username ↔ String?
-
The username of a resource owner.
read / writeoverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited