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




hashCode int
The hash code for this object. [...]
read-only, inherited
hashedPassword String?
The hashed password of a resource owner.
@Column(omitByDefault: true), read / write, override
id int?
The primary key of a resource owner.
@primaryKey, read / write, override-getter
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
salt String?
The salt for hashedPassword.
@Column(omitByDefault: true), read / write, override
tokens ManagedSet<ManagedAuthToken>?
The list of tokens issue for this resource owner.
read / write
username String?
The username of a resource owner.
@Column(unique: true, indexed: true), read / write, override


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


operator ==(Object other) bool
The equality operator. [...]