gravitino.api.credential.credential.Credential¶
- class gravitino.api.credential.credential.Credential¶
Bases:
ABCRepresents the credential in Gravitino.
- __init__()¶
Methods
__init__()The credential information.
The type of the credential.
Returns the expiration time of the credential in milliseconds since the epoch, 0 means it will never expire.
Attributes
HTTP_HEADER_CURRENT_LOCATION_NAME- abstract credential_info() Dict[str, str]¶
The credential information.
- Returns:
The credential information.
- abstract credential_type() str¶
The type of the credential.
- Returns:
the type of the credential.
- abstract expire_time_in_ms() int¶
Returns the expiration time of the credential in milliseconds since the epoch, 0 means it will never expire.
- Returns:
The expiration time of the credential.