public class AuthorizationDetails extends Object implements IAuthorizationDetails
Constructor and Description |
---|
AuthorizationDetails(org.apache.http.Header[] headers) |
AuthorizationDetails(String link) |
AuthorizationDetails(String error,
String errorDetails) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
The message returned from the server
for being unauthorized if provided
|
String |
getRequestTokenLink()
The link to visit to request a valid
token that can be used to access
the server if provided
|
String |
getScheme()
The authentication scheme
|
String |
toString() |
public AuthorizationDetails(String link)
public AuthorizationDetails(org.apache.http.Header[] headers)
public String getScheme()
IAuthorizationDetails
getScheme
in interface IAuthorizationDetails
public String getMessage()
IAuthorizationDetails
getMessage
in interface IAuthorizationDetails
public String getRequestTokenLink()
IAuthorizationDetails
getRequestTokenLink
in interface IAuthorizationDetails
Copyright © 2016 Red Hat, Inc. All rights reserved.