public class SignatureBaseString extends Object
Constructor and Description |
---|
SignatureBaseString(HttpRequest request,
HttpParameters requestParameters)
Constructs a new SBS instance that will operate on the given request
object and parameter set.
|
Modifier and Type | Method and Description |
---|---|
String |
generate()
Builds the signature base string from the data this instance was
configured with.
|
String |
normalizeRequestParameters()
Normalizes the set of request parameters this instance was configured
with, as per OAuth spec section 9.1.1.
|
String |
normalizeRequestUrl() |
public SignatureBaseString(HttpRequest request, HttpParameters requestParameters)
request
- the HTTP requestrequestParameters
- the set of request parameters from the Authorization header, query
string and form bodypublic String generate() throws OAuthMessageSignerException
OAuthMessageSignerException
public String normalizeRequestUrl() throws URISyntaxException
URISyntaxException
public String normalizeRequestParameters() throws IOException
parameters
- the set of request parametersIOException
Copyright © 2023. All rights reserved.