TicketAuthentication class

This is the ticket based authentication implementation for this package. Use it with the Client.

Inheritance

Constructors

TicketAuthentication(String password)

Properties

hashCode → int
The hash code for this object.
no setterinherited
onChallenge → Stream<Extra>
When the challenge starts the stream will provide the current Extra in case the client needs some additional information to challenge the server.
no setteroverride
password ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

challenge(Extra extra) → Future<Authenticate>
This method is called by the session if the router returns the challenge or the challenges extra respectively. This method only returns the plain password as a signature.
override
getName() → String
This method is called by the session to identify the authentication name.
override
hello(String? realm, Details details) → Future<void>
This method is called by the session to modify the hello details for a given realm. Since Ticket does not need to modify it. This method returns a completed future
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited