TicketAuthentication class
This is the ticket based authentication implementation for this package. Use it with the Client.
- Inheritance
-
- Object
- AbstractAuthentication
- TicketAuthentication
Constructors
- TicketAuthentication.new(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 givenrealm
. Since Ticket does not need to modify it. This method returns a completed futureoverride -
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