Package | Description |
---|---|
org.glassfish.jersey.oauth1.signature |
Jersey OAuth 1 Signature API and Implementation.
|
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 |
---|---|
String |
OAuth1Signature.generate(OAuth1Request request,
OAuth1Parameters params,
OAuth1Secrets secrets)
Generates and returns an OAuth signature for the given request,
parameters and secrets.
|
void |
OAuth1Signature.sign(OAuth1Request request,
OAuth1Parameters params,
OAuth1Secrets 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.
|
boolean |
OAuth1Signature.verify(OAuth1Request request,
OAuth1Parameters params,
OAuth1Secrets secrets)
Verifies the OAuth signature for a given request, parameters and
secrets.
|
Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.