AuthInfo Class
The authorization properties for accessing the source code repository.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
AuthInfo
Constructor
AuthInfo(*, token_type: Union[str, azure.mgmt.containerregistry.v2019_06_01_preview.models._container_registry_management_client_enums.TokenType], token: str, refresh_token: Optional[str] = None, scope: Optional[str] = None, expires_in: Optional[int] = None, **kwargs)
Variables
Required. The type of Auth token. Possible values include: "PAT", "OAuth".
- token
- str
Required. The access token used to access the source control provider.
- refresh_token
- str
The refresh token used to refresh the access token.
- scope
- str
The scope of the access token.
- expires_in
- int
Time in seconds that the token remains valid.
Feedback
Submit and view feedback for