REQUIRED: Represents an OAuth 2.0 Resource Owner database table.

An application using this library must declare a ManagedObject subclass whose persistent type 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.

Implements
  • Authenticatable
Implemented by

Constructors

ManagedAuthenticatable()

Properties

hashedPassword → String

The hashed password of a resource owner.

@ManagedColumnAttributes(omitByDefault: true), @override, read / write
id → int

The primary key of a resource owner.

@managedPrimaryKey, @override, read / write
salt → String

The salt for hashedPassword.

@ManagedColumnAttributes(omitByDefault: true), @override, read / write
tokens ManagedSet<ManagedToken>

The list of tokens issue for this resource owner.

read / write
username → String

The username of a resource owner.

@ManagedColumnAttributes(unique: true, indexed: true), @override, 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