public class VaultToken extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
VaultToken(char[] token) |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken() |
static VaultToken |
of(char[] token)
Create a new
VaultToken. |
static VaultToken |
of(String token)
Create a new
VaultToken. |
char[] |
toCharArray() |
public static VaultToken of(String token)
VaultToken.token - must not be empty or null.VaultTokenpublic static VaultToken of(char[] token)
VaultToken.token - must not be empty or null.VaultTokenpublic String getToken()
public char[] toCharArray()
Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.