public class Token extends Object implements Serializable
| Constructor and Description |
|---|
Token() |
| Modifier and Type | Method and Description |
|---|---|
static Token |
create(String token)
Creates a
Token with an existing authentication token value (from an existing session) |
@NotNull String |
getToken()
Returns the authentication token value
|
void |
setToken(@NotNull String token)
Sets a new authentication token value
|
public static Token create(String token)
Token with an existing authentication token value (from an existing session)token - token of the existing sessionToken@NotNull public @NotNull String getToken()
public void setToken(@NotNull
@NotNull String token)
token - the new token valueCopyright © 2017–2023 SoftVision Development GmbH, Fulda, Germany. All rights reserved.