public class PreemptiveOAuth2HeaderScheme extends Object implements AuthenticationScheme, groovy.lang.GroovyObject
Constructor and Description |
---|
PreemptiveOAuth2HeaderScheme() |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(HTTPBuilder httpBuilder) |
String |
generateAuthToken() |
String |
getAccessToken() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setAccessToken(String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public String getAccessToken()
public void setAccessToken(String value)
public void authenticate(HTTPBuilder httpBuilder)
authenticate
in interface AuthenticationScheme
public String generateAuthToken()
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.