public interface Credentials
The server passes the credentials through to the configured authentication handlers for interpretation.
Credentials can be created using a Credentials.Factory
, an instance
of which can be obtained as follows:
Credentials.Factory factory = Diffusion.credentials();
Modifier and Type | Interface and Description |
---|---|
static interface |
Credentials.Factory
Factory for the standard credential types.
|
static class |
Credentials.Type
Type code indicated the type of the credentials.
|
Modifier and Type | Method and Description |
---|---|
Credentials.Type |
getType()
Return the type of credentials.
|
byte[] |
toBytes()
Return the credential data as a byte array.
|
Credentials.Type getType()
byte[] toBytes()
Copyright © 2022 Push Technology Ltd. All Rights Reserved.