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.VaultToken
public static VaultToken of(char[] token)
VaultToken
.token
- must not be empty or null.VaultToken
public String getToken()
public char[] toCharArray()
Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.