AuthInfo Class
The authorization properties for accessing the source code repository.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.containerregistry._serialization.ModelAuthInfo
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. |
scope
|
The scope of the access token. |
expires_in
|
Time in seconds that the token remains valid. |
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. |
Azure SDK for Python