Package | Description |
---|---|
com.sun.jersey.oauth.signature |
Modifier and Type | Class and Description |
---|---|
class |
InvalidSecretException
Thrown to indicate that the OAuth secret supplied is invalid or otherwise
unsupported.
|
class |
UnsupportedSignatureMethodException
Thrown to indicate that the OAuth signature method requested is not
supported.
|
Modifier and Type | Method and Description |
---|---|
static String |
OAuthSignature.generate(OAuthRequest request,
OAuthParameters params,
OAuthSecrets secrets)
Generates and returns an OAuth signature for the given request,
parameters and secrets.
|
static void |
OAuthSignature.sign(OAuthRequest request,
OAuthParameters params,
OAuthSecrets secrets)
Generates an OAuth signature for the given request, parameters and
secrets, and stores it as a signature parameter, and writes the
OAuth parameters to the request as an Authorization header.
|
static boolean |
OAuthSignature.verify(OAuthRequest request,
OAuthParameters params,
OAuthSecrets secrets)
Verifies the OAuth signature for a given request, parameters and
secrets.
|
Copyright © 2013 Oracle Corporation. All rights reserved.