CliAuthenticationKeyManager class
- Available extensions
Constructors
- CliAuthenticationKeyManager({required CommandLogger logger, required String localStoragePath, ServerpodCloudAuthData? cloudDataOverride})
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- 
  isAuthenticated
  → Future<bool> 
- 
      Available on AuthenticationKeyManager, provided by the IsAuthenticated extension no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  get() → Future< String?> 
- Retrieves an authentication key.
- 
  getHeaderValue() → Future< String?> 
- 
  Retrieves the authentication key in a format that can be used in a transport header.
The format conversion is performed by toHeaderValue.inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  put(String key) → Future< void> 
- Saves an authentication key retrieved by the server.
- 
  remove() → Future< void> 
- Removes the authentication key.
- 
  toHeaderValue(String? key) → Future< String?> 
- 
  Converts an authentication key to a format that can be used in a transport header.
The default implementation encodes and wraps the key in a 'Basic' scheme.
(This will automatically be unwrapped again on the server side
before being handed to the authentication handler.)
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited