ProofOfPossessionOptions Class

  • java.lang.Object
    • com.azure.core.credential.ProofOfPossessionOptions

public class ProofOfPossessionOptions

Specifies Options for Pop Token authentication.

Constructor Summary

Constructor Description
ProofOfPossessionOptions()

Creates a new instance of ProofOfPossessionOptions.

Method Summary

Modifier and Type Method and Description
String getProofOfPossessionNonce()

Gets the proof of possession nonce.

HttpMethod getRequestMethod()

Gets the request method.

URL getRequestUrl()

Gets the request URL.

ProofOfPossessionOptions setProofOfPossessionNonce(String proofOfPossessionNonce)

Sets the proof of possession nonce.

ProofOfPossessionOptions setRequestMethod(HttpMethod requestMethod)

Sets the request method.

ProofOfPossessionOptions setRequestUrl(URL requestUrl)

Sets the request URL.

Methods inherited from java.lang.Object

Constructor Details

ProofOfPossessionOptions

public ProofOfPossessionOptions()

Creates a new instance of ProofOfPossessionOptions.

Method Details

getProofOfPossessionNonce

public String getProofOfPossessionNonce()

Gets the proof of possession nonce.

Returns:

A string representing the proof of possession nonce.

getRequestMethod

public HttpMethod getRequestMethod()

Gets the request method.

Returns:

An HttpMethod representing the request method.

getRequestUrl

public URL getRequestUrl()

Gets the request URL.

Returns:

A URL representing the request URL.

setProofOfPossessionNonce

public ProofOfPossessionOptions setProofOfPossessionNonce(String proofOfPossessionNonce)

Sets the proof of possession nonce.

Parameters:

proofOfPossessionNonce - A string representing the proof of possession nonce.

Returns:

The updated instance of ProofOfPossessionOptions.

setRequestMethod

public ProofOfPossessionOptions setRequestMethod(HttpMethod requestMethod)

Sets the request method.

Parameters:

requestMethod - An HttpMethod representing the request method.

Returns:

The updated instance of ProofOfPossessionOptions.

setRequestUrl

public ProofOfPossessionOptions setRequestUrl(URL requestUrl)

Sets the request URL.

Parameters:

requestUrl - A URL representing the request URL.

Returns:

The updated instance of ProofOfPossessionOptions.

Applies to