public class AuthInfo extends Object implements Serializable
| Constructor and Description |
|---|
AuthInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Returns the authentication key.
|
Boolean |
getPlay()
Returns true if authentication is required before play
|
Boolean |
getPush()
Returns true if authentication is required before push.
|
void |
setKey(String key)
Sets the authentication key.
|
void |
setPlay(Boolean play)
Sets to true if authentication is required before play
|
void |
setPush(Boolean push)
Sets to true if authentication is required before push
|
String |
toString() |
AuthInfo |
withKey(String key)
Sets the authentication key.
|
AuthInfo |
withPlay(Boolean play)
Sets to true if authentication is required before play
|
AuthInfo |
withPush(Boolean push)
Sets to true if authentication is required before push
|
public Boolean getPush()
public void setPush(Boolean push)
push - true if authentication is required before pushpublic AuthInfo withPush(Boolean push)
push - true if authentication is required before pushpublic Boolean getPlay()
public void setPlay(Boolean play)
play - true if authentication is required before playpublic AuthInfo withPlay(Boolean play)
play - true if authentication is required before playpublic String getKey()
public void setKey(String key)
key - the authentication keypublic AuthInfo withKey(String key)
key - the authentication keyCopyright © 2023. All rights reserved.