public abstract class AbstractSaslProtocol extends AbstractAuthProtocol implements EventListening
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractSaslProtocol.Listener |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSaslProtocol(@NonNull Client client,
@NonNull String saslType)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
protected @NonNull String |
getAuthentication()
Gets a String for
AbstractAuthProtocol.startAuthentication() . |
protected abstract @NonNull String |
getAuthLine()
Gets the info to base64 encode in the first AUTHENTICATE message.
|
@NonNull Object |
getEventListener()
Gets the object for listening.
|
protected void |
toString(ToStringer stringer)
Adds data to toString.
|
getClient, startAuthentication, toString
protected final @NonNull String getAuthentication()
AbstractAuthProtocol
AbstractAuthProtocol.startAuthentication()
.getAuthentication
in class AbstractAuthProtocol
public @NonNull Object getEventListener()
EventListening
getEventListener
in interface EventListening
protected abstract @NonNull String getAuthLine()
protected void toString(ToStringer stringer)
AbstractAuthProtocol
toString
in class AbstractAuthProtocol
stringer
- stringerCopyright © 2013–2021 Kitteh. All rights reserved.