Package | Description |
---|---|
example | |
oauth1 | |
oauth1.exception.missingdata | |
oauth1.strategy | |
oauth1.strategy.preset |
Modifier and Type | Method and Description |
---|---|
static AuthorisedResult |
Example.authorised(String temporaryToken)
The authorised endpoint,
i.e.
|
static BeginResult |
Example.begin()
The begin endpoint,
i.e.
|
static void |
Example.main(String[] args)
This application:
1.
|
Modifier and Type | Method and Description |
---|---|
AuthorisedResult |
OAuth1NoCallback.authorised(String temporaryToken)
Fetches the token secret corresponding to the temporary token,
then uses the obtained token secret along with the original temporary token to obtain an access token from the server.
|
protected AuthorisedResult |
OAuth1Generic.authorised(String temporaryToken,
String verifier)
Fetches the token secret corresponding to the temporary token,
then uses the obtained token secret along with the original temporary token and verifier to obtain an access token from the server.
|
AuthorisedResult |
OAuth1WithCallback.authorised(String temporaryToken,
String verifier)
Fetches the token secret corresponding to the temporary token,
then uses the obtained token secret along with the original temporary token and verifier to obtain an access token from the server.
|
protected BeginResult |
OAuth1Generic.begin()
Requests a temporary token and corresponding token secret from the server,
then maps the temporary token to the token secret
and returns the obtained temporary token along with the authenticate URL (redirect URL) if
OAuth1Generic.authoriseUrl is non-null. |
BeginResult |
OAuth1NoCallback.begin()
Requests a temporary token and corresponding token secret from the server,
then maps the temporary token to the token secret
and returns the obtained temporary token along with the authenticate URL (redirect URL) if
OAuth1Generic.authoriseUrl is non-null. |
BeginResult |
OAuth1WithCallback.begin()
Requests a temporary token and corresponding token secret from the server,
then maps the temporary token to the token secret
and returns the obtained temporary token along with the authenticate URL (redirect URL) if
OAuth1Generic.authoriseUrl is non-null. |
Modifier and Type | Class and Description |
---|---|
class |
MissingDataTokenMapException |
Modifier and Type | Method and Description |
---|---|
String |
TokenMapStrategy.fetchTemporaryTokenSecretForTemporaryToken(String temporaryToken)
Retrieve the value of a temporary token secret mapped to the given temporary token, which was mapped in the past via
TokenMapStrategy.mapTemporaryTokenToTemporaryTokenSecret(String, String) . |
void |
TokenMapStrategy.mapTemporaryTokenToTemporaryTokenSecret(String temporaryToken,
String temporaryTokenSecret)
Persistently map the given temporary token to the given temporary token secret.
|
Modifier and Type | Method and Description |
---|---|
String |
HashMapTokenMapStrategy.fetchTemporaryTokenSecretForTemporaryToken(String temporaryToken)
Uses
Map.get(Object) to obtain the temporary token secret mapped to the given temporary token. |
void |
HashMapTokenMapStrategy.mapTemporaryTokenToTemporaryTokenSecret(String temporaryToken,
String temporaryTokenSecret)
Uses
Map.put(Object, Object) to map the given temporary token to the given temporary token secret. |
Copyright © 2020. All rights reserved.