module auth_provider
Interface definition for an Auth provider
Global Variables
- ACCESS_TOKEN
- EXPIRY
class AuthenticationException
Error trying to get the token from the provider
class AuthenticationProvider
Interface definition for an Authentication provider
method auth_token
Authentication token
Returns: str
classmethod create
Create authentication
Arguments:
- <b>
config
</b> (ConfigModel): configuration
Returns: AuthenticationProvider
method get_access_token
Authentication token
Returns: str
class NoOpAuthenticationProvider
Extends AuthenticationProvider class
Args: config (MetadataServerConfig):
Attributes: config (MetadataServerConfig)
method __init__
method auth_token
classmethod create
method get_access_token
class GoogleAuthenticationProvider
Google authentication implementation
Args: config (MetadataServerConfig):
Attributes: config (MetadataServerConfig)
method __init__
method auth_token
classmethod create
method get_access_token
class OktaAuthenticationProvider
Prepare the Json Web Token for Okta auth
method __init__
method auth_token
classmethod create
method get_access_token
class Auth0AuthenticationProvider
OAuth authentication implementation
Args: config (MetadataServerConfig):
Attributes: config (MetadataServerConfig)
method __init__
method auth_token
classmethod create
method get_access_token
class AzureAuthenticationProvider
Prepare the Json Web Token for Azure auth
method __init__
method auth_token
classmethod create
method get_access_token
class CustomOIDCAuthenticationProvider
Custom OIDC authentication implementation
Args: config (MetadataServerConfig):
Attributes: config (MetadataServerConfig)
method __init__
method auth_token
classmethod create
method get_access_token
class OpenMetadataAuthenticationProvider
OpenMetadata authentication implementation
Args: config (MetadataServerConfig):
Attributes: config (MetadataServerConfig)