REQUIRED: An OAuth 2.0 Resource Owner as a ManagedObject.

An application using this library must declare a ManagedObject subclass that implements this type. This type will represent instances of a resource owner in an application. For example,

    class User extends ManagedObject<_User> implements _User, ManagedAuthResourceOwner  {}
    class _User extends ManagedAuthenticatable { ... }

Note that this interface is made up of both ManagedAuthenticatable and ManagedObject. The type declaring this as an interface must extend ManagedObject and implement a persistent type that extends ManagedAuthenticatable. Since all ManagedObject subclasses extend their persistent type, this interface requirement is met.

Implements

Constructors

ManagedAuthResourceOwner()

Properties

backing ManagedBacking

read / write, inherited
backingMap → Map<String, dynamic>

The managed values of this instance.

read-only, inherited
entity ManagedEntity

The ManagedEntity this instance is described by.

read / write, inherited
hashCode → int

The hash code for this object.

read-only, inherited
hashedPassword → String

The hashed password of a resource owner.

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

The primary key of a resource owner.

@managedPrimaryKey, @override, read / write, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
salt → String

The salt for hashedPassword.

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

The list of tokens issue for this resource owner.

read / write, inherited
username → String

The username of a resource owner.

@ManagedColumnAttributes(unique: true, indexed: true), @override, read / write, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited
operator [](String propertyName) → dynamic

Retrieves a value by property name from the backingMap.

inherited
operator []=(String propertyName, value) → void

Sets a value by property name in the backingMap.

inherited

Methods

asMap() → Map<String, dynamic>

Converts this instance into a serializable map.

inherited
hasValueForProperty(String propertyName) → bool

Checks whether or not a property has been set in this instances' backingMap.

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
readFromMap(Map<String, dynamic> keyValues) → void

Populates the properties of a this instance from a map.

inherited
readMap(Map<String, dynamic> keyValues) → void

@Deprecated("3.0, use readFromMap instead"), inherited
removePropertyFromBackingMap(String propertyName) → void

Removes a property from the backingMap.

inherited
toString() → String

Returns a string representation of this object.

inherited
validate({ValidateOperation forOperation: ValidateOperation.insert, List<String> collectErrorsIn }) → bool

Validates an object according to its property Validate metadata.

inherited
willInsert() → void

Callback to modify an object prior to inserting it with a Query.

inherited
willUpdate() → void

Callback to modify an object prior to updating it with a Query.

inherited