AuthorizationInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.securitydevops.models.AuthorizationInfo

public final class AuthorizationInfo

The AuthorizationInfo model.

Constructor Summary

Constructor Description
AuthorizationInfo()

Creates an instance of AuthorizationInfo class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.

void validate()

Validates the instance.

AuthorizationInfo withCode(String code)

Set the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.

Methods inherited from java.lang.Object

Constructor Details

AuthorizationInfo

public AuthorizationInfo()

Creates an instance of AuthorizationInfo class.

Method Details

code

public String code()

Get the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.

Returns:

the code value.

validate

public void validate()

Validates the instance.

withCode

public AuthorizationInfo withCode(String code)

Set the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.

Parameters:

code - the code value to set.

Returns:

the AuthorizationInfo object itself.

Applies to