public class AuthInfoUpdateParameters extends Object
| Constructor | Description |
|---|---|
AuthInfoUpdateParameters() |
| Modifier and Type | Method | Description |
|---|---|---|
Integer |
expiresIn() |
Get time in seconds that the token remains valid.
|
String |
refreshToken() |
Get the refresh token used to refresh the access token.
|
String |
scope() |
Get the scope of the access token.
|
String |
token() |
Get the access token used to access the source control provider.
|
TokenType |
tokenType() |
Get the type of Auth token.
|
AuthInfoUpdateParameters |
withExpiresIn(Integer expiresIn) |
Set time in seconds that the token remains valid.
|
AuthInfoUpdateParameters |
withRefreshToken(String refreshToken) |
Set the refresh token used to refresh the access token.
|
AuthInfoUpdateParameters |
withScope(String scope) |
Set the scope of the access token.
|
AuthInfoUpdateParameters |
withToken(String token) |
Set the access token used to access the source control provider.
|
AuthInfoUpdateParameters |
withTokenType(TokenType tokenType) |
Set the type of Auth token.
|
public TokenType tokenType()
public AuthInfoUpdateParameters withTokenType(TokenType tokenType)
tokenType - the tokenType value to setpublic String token()
public AuthInfoUpdateParameters withToken(String token)
token - the token value to setpublic String refreshToken()
public AuthInfoUpdateParameters withRefreshToken(String refreshToken)
refreshToken - the refreshToken value to setpublic String scope()
public AuthInfoUpdateParameters withScope(String scope)
scope - the scope value to setpublic Integer expiresIn()
public AuthInfoUpdateParameters 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.
*/