public class OSAuthenticator extends Object
| Constructor and Description |
|---|
OSAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
static OSClient |
invoke(AuthStore auth,
String endpoint,
Facing perspective,
Config config)
Invokes authentication to obtain a valid Token for either V2 and V3
|
static void |
reAuthenticate()
Re-authenticates/renews the token for the current Session
|
public static OSClient invoke(AuthStore auth, String endpoint, Facing perspective, Config config)
auth - the authentication credentialsendpoint - the identity endpointperspective - the network facing perspectiveconfig - the client configurationpublic static void reAuthenticate()