public class OpenShiftCredentialsProvider extends Object implements org.apache.http.client.CredentialsProvider, IAuthorizationStrategyVisitor
| Constructor and Description |
|---|
OpenShiftCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope authscope) |
String |
getScheme() |
String |
getToken()
Get the token if known;
|
void |
setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials) |
void |
visit(BasicAuthorizationStrategy strategy) |
void |
visit(KerbrosBrokerAuthorizationStrategy strategy) |
void |
visit(TokenAuthorizationStrategy strategy) |
public String getToken()
public String getScheme()
public void visit(BasicAuthorizationStrategy strategy)
visit in interface IAuthorizationStrategyVisitorpublic void visit(TokenAuthorizationStrategy strategy)
visit in interface IAuthorizationStrategyVisitorpublic void visit(KerbrosBrokerAuthorizationStrategy strategy)
visit in interface IAuthorizationStrategyVisitorpublic void setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials)
setCredentials in interface org.apache.http.client.CredentialsProviderpublic org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
getCredentials in interface org.apache.http.client.CredentialsProviderpublic void clear()
clear in interface org.apache.http.client.CredentialsProviderCopyright © 2016 Red Hat, Inc. All rights reserved.