public class SourceControlAuthInfo extends Object
| Constructor and Description |
|---|
SourceControlAuthInfo() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
expiresIn()
Get the expiresIn value.
|
String |
refreshToken()
Get the refreshToken value.
|
String |
scope()
Get the scope value.
|
String |
token()
Get the token value.
|
TokenType |
tokenType()
Get the tokenType value.
|
SourceControlAuthInfo |
withExpiresIn(Integer expiresIn)
Set the expiresIn value.
|
SourceControlAuthInfo |
withRefreshToken(String refreshToken)
Set the refreshToken value.
|
SourceControlAuthInfo |
withScope(String scope)
Set the scope value.
|
SourceControlAuthInfo |
withToken(String token)
Set the token value.
|
SourceControlAuthInfo |
withTokenType(TokenType tokenType)
Set the tokenType value.
|
public TokenType tokenType()
public SourceControlAuthInfo withTokenType(TokenType tokenType)
tokenType - the tokenType value to setpublic String token()
public SourceControlAuthInfo withToken(String token)
token - the token value to setpublic String refreshToken()
public SourceControlAuthInfo withRefreshToken(String refreshToken)
refreshToken - the refreshToken value to setpublic String scope()
public SourceControlAuthInfo withScope(String scope)
scope - the scope value to setpublic Integer expiresIn()
public SourceControlAuthInfo withExpiresIn(Integer expiresIn)
expiresIn - the expiresIn value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/