public class VaultToken extends Object
Modifier | Constructor and Description |
---|---|
protected |
VaultToken(char[] token) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getToken() |
int |
hashCode() |
static VaultToken |
of(char[] token)
Create a new
VaultToken . |
static VaultToken |
of(String token)
Create a new
VaultToken . |
char[] |
toCharArray() |
String |
toString() |
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–2021 Pivotal Software, Inc.. All rights reserved.