AuthInfo Class 
The authorization properties for accessing the source code repository.
All required parameters must be populated in order to send to server.
Constructor
AuthInfo(*, token_type: str | _models.TokenType, token: str, refresh_token: str | None = None, scope: str | None = None, expires_in: int | None = None, **kwargs: Any)Keyword-Only Parameters
| Name | Description | 
|---|---|
| token_type | The type of Auth token. Required. Known values are: "PAT" and "OAuth". | 
| token | The access token used to access the source control provider. Required. | 
| refresh_token | The refresh token used to refresh the access token. Default value: None | 
| scope | The scope of the access token. Default value: None | 
| expires_in | Time in seconds that the token remains valid. Default value: None | 
Variables
| Name | Description | 
|---|---|
| token_type | The type of Auth token. Required. Known values are: "PAT" and "OAuth". | 
| token | The access token used to access the source control provider. Required. | 
| refresh_token | The refresh token used to refresh the access token. | 
| scope | The scope of the access token. | 
| expires_in | Time in seconds that the token remains valid. |