AuthorizationInfo Class
- java.
lang. Object - com.
azure. resourcemanager. securitydevops. models. AuthorizationInfo
- com.
public final class AuthorizationInfo
The AuthorizationInfo model.
Constructor Summary
| Constructor | Description |
|---|---|
| AuthorizationInfo() |
Creates an instance of Authorization |
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. |
|
Authorization |
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:
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:
Returns: