Package com.azure.core.credential
Class ProofOfPossessionOptions
java.lang.Object
com.azure.core.credential.ProofOfPossessionOptions
Specifies Options for Pop Token authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the proof of possession nonce.Gets the request method.Gets the request URL.setProofOfPossessionNonce(String proofOfPossessionNonce) Sets the proof of possession nonce.setRequestMethod(HttpMethod requestMethod) Sets the request method.setRequestUrl(URL requestUrl) Sets the request URL.
-
Constructor Details
-
ProofOfPossessionOptions
public ProofOfPossessionOptions()Creates a new instance ofProofOfPossessionOptions.
-
-
Method Details
-
getProofOfPossessionNonce
Gets the proof of possession nonce.- Returns:
- A string representing the proof of possession nonce.
-
setProofOfPossessionNonce
Sets the proof of possession nonce.- Parameters:
proofOfPossessionNonce- A string representing the proof of possession nonce.- Returns:
- The updated instance of ProofOfPossessionOptions.
-
getRequestUrl
Gets the request URL.- Returns:
- A URL representing the request URL.
-
setRequestUrl
Sets the request URL.- Parameters:
requestUrl- A URL representing the request URL.- Returns:
- The updated instance of ProofOfPossessionOptions.
-
getRequestMethod
Gets the request method.- Returns:
- An HttpMethod representing the request method.
-
setRequestMethod
Sets the request method.- Parameters:
requestMethod- An HttpMethod representing the request method.- Returns:
- The updated instance of ProofOfPossessionOptions.
-