public abstract class AbstractAuthProtocol extends Object implements AuthProtocol
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAuthProtocol(@NonNull Client client)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract @NonNull String |
getAuthentication()
Gets a String for
startAuthentication(). |
@NonNull Client |
getClient()
Gets the Client to which this belongs.
|
void |
startAuthentication()
Starts the authentication process.
|
@NonNull String |
toString() |
protected abstract void |
toString(ToStringer stringer)
Adds data to toString.
|
protected AbstractAuthProtocol(@NonNull Client client)
client - clientpublic final @NonNull Client getClient()
ClientLinkedgetClient in interface ClientLinkedpublic final void startAuthentication()
AuthProtocolstartAuthentication in interface AuthProtocolprotected abstract @NonNull String getAuthentication()
startAuthentication().protected abstract void toString(ToStringer stringer)
stringer - stringerCopyright © 2013–2021 Kitteh. All rights reserved.