|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface OAuth1Builder.FlowBuilder
Builder of the OAuth1AuthorizationFlow.
| Method Summary | |
|---|---|
OAuth1AuthorizationFlow |
build()
Build the OAuth1AuthorizationFlow. |
OAuth1Builder.FlowBuilder |
callbackUri(String callbackUri)
Set the callback URI to which the user (resource owner) should be redirected after he/she grants access to this application. |
OAuth1Builder.FlowBuilder |
client(javax.ws.rs.client.Client client)
Set the client that should be used internally by the OAuth1AuthorizationFlow to make requests to
Authorization Server. |
| Method Detail |
|---|
OAuth1Builder.FlowBuilder callbackUri(String callbackUri)
verifier that will be used in
OAuth1AuthorizationFlow.finish(String) method.
If URI is not defined by this method, the default value oob will be used in the Authorization
Flow which should cause that verifier will be passed to application in other way than request
redirection (for example shown to the user using html page).
callbackUri - URI that should receive authorization response from the Service Provider.
OAuth1Builder.FlowBuilder client(javax.ws.rs.client.Client client)
OAuth1AuthorizationFlow to make requests to
Authorization Server. If this method is not called, it is up to the implementation to create or get
any private client instance to perform these requests. This method could be used mainly for
performance reasons to avoid creation of new client instances and have control about created client
instances used in the application.
client - Client instance.
OAuth1AuthorizationFlow build()
OAuth1AuthorizationFlow.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||