public interface IAuthorization extends IOpenShiftResource
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_EXPIRES_IN |
static String |
SCOPE_READ |
static String |
SCOPE_SESSION |
static String |
SCOPE_USERINFO |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys this authorization
|
int |
getExpiresIn()
Returns the total time in seconds before this authorization expires.
|
String |
getId()
Returns the unique id for this authorization.
|
String |
getNote()
authorization note
|
String |
getScopes()
returns the scope of the authorization token to determine type of access.
|
String |
getToken()
Returns authorization string that contains user credentials.
|
void |
refresh()
Refreshes the authorization by reloading its content from OpenShift.
|
getCreationLog, getMessages, hasCreationLogstatic final String SCOPE_SESSION
static final String SCOPE_READ
static final String SCOPE_USERINFO
static final int NO_EXPIRES_IN
String getId()
String getNote()
String getScopes()
String getToken()
int getExpiresIn()
void destroy()
throws OpenShiftException
OpenShiftExceptionvoid refresh()
throws OpenShiftException
refresh in interface IOpenShiftResourceOpenShiftExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.