menu
agent_dart package
documentation
agent/auth.dart
Identity class
Identity class
dark_mode
light_mode
Identity
class
abstract
Implementers
AnonymousIdentity
SignIdentity
Constructors
Identity
()
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
getPrincipal
(
)
→
Principal
Get the principal represented by this identity. Normally should be a
Principal.selfAuthenticating()
.
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
inherited
transformRequest
(
HttpAgentRequest
request
)
→
Future
Transform a request into a signed version of the request. This is done last after the transforms on the body of a request. The returned object can be anything, but must be serializable to CBOR.
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
agent_dart package
documentation
agent/auth
Identity class
auth library