ManagedAuthenticatable class

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
Implemented by

Constructors

ManagedAuthenticatable()

Properties

hashedPassword String
The hashed password of a resource owner.
@ManagedColumnAttributes(omitByDefault: true), read / write
id int
The primary key of a resource owner.
@managedPrimaryKey, read / write
salt String
The salt for hashedPassword.
@ManagedColumnAttributes(omitByDefault: true), 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), 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

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

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited