public class VendastaCredentialsManager extends Object implements CredentialsManager
| Constructor and Description |
|---|
VendastaCredentialsManager(InputStream serviceAccount,
String audience) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorization()
Any implementation must be able to return an authorization string that
can be used in an HTTP Authorization header.
|
void |
invalidateAuthorization()
The CredentialManager negotiates a credential, but it is not informed if
that credential is invalidated for any reason other than expiry.
|
public VendastaCredentialsManager(InputStream serviceAccount, String audience) throws IOException
IOExceptionpublic String getAuthorization() throws CredentialsException
CredentialsManagergetAuthorization in interface CredentialsManagerCredentialsExceptionpublic void invalidateAuthorization()
CredentialsManagerinvalidateAuthorization in interface CredentialsManagerCopyright © 2018. All rights reserved.