Package | Description |
---|---|
org.glassfish.jersey.oauth1.signature |
Jersey OAuth 1 Signature API and Implementation.
|
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.
|
OAuth1Parameters |
OAuth1Parameters.readRequest(OAuth1Request request)
Reads a request for OAuth parameters, and populates this object.
|
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.
|
OAuth1Parameters |
OAuth1Parameters.writeRequest(OAuth1Request request)
Writes the OAuth parameters to a request, as an Authorization header.
|
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.