public interface IAuthorizationContext
Modifier and Type | Field and Description |
---|---|
static String |
AUTHSCHEME_BASIC |
static String |
AUTHSCHEME_OAUTH |
Modifier and Type | Method and Description |
---|---|
String |
getAuthScheme()
The authorization scope if it can be determined.
|
String |
getExpiresIn()
Time in ?? when the token expires.
|
String |
getToken()
Token to use for authentication.
|
IUser |
getUser()
The authorized user if it can be found for this token
|
boolean |
isAuthorized() |
static final String AUTHSCHEME_BASIC
static final String AUTHSCHEME_OAUTH
IUser getUser()
boolean isAuthorized()
String getAuthScheme()
String getToken()
String getExpiresIn()
Copyright © 2016 Red Hat, Inc. All rights reserved.