Skip to main content

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

auth_token() → str
Authentication token Returns: str

classmethod create

create(config: ConfigModel) → AuthenticationProvider
Create authentication Arguments:
  • config (ConfigModel): configuration
Returns: AuthenticationProvider

method get_access_token

get_access_token()
Authentication token Returns: str

class NoOpAuthenticationProvider

Extends AuthenticationProvider class Args: config (MetadataServerConfig): Attributes: config (MetadataServerConfig)

method __init__

__init__(config: OpenMetadataConnection)

method auth_token

auth_token()

classmethod create

create(config: OpenMetadataConnection)

method get_access_token

get_access_token()

class GoogleAuthenticationProvider

Google authentication implementation Args: config (MetadataServerConfig): Attributes: config (MetadataServerConfig)

method __init__

__init__(config: OpenMetadataConnection)

method auth_token

auth_token() → None

classmethod create

create(config: OpenMetadataConnection)

method get_access_token

get_access_token()

class OktaAuthenticationProvider

Prepare the Json Web Token for Okta auth

method __init__

__init__(config: OpenMetadataConnection)

method auth_token

auth_token() → None

classmethod create

create(config: OpenMetadataConnection)

method get_access_token

get_access_token()

class Auth0AuthenticationProvider

OAuth authentication implementation Args: config (MetadataServerConfig): Attributes: config (MetadataServerConfig)

method __init__

__init__(config: OpenMetadataConnection)

method auth_token

auth_token() → None

classmethod create

create(config: OpenMetadataConnection)

method get_access_token

get_access_token()

class AzureAuthenticationProvider

Prepare the Json Web Token for Azure auth

method __init__

__init__(config: OpenMetadataConnection)

method auth_token

auth_token() → None

classmethod create

create(config: OpenMetadataConnection)

method get_access_token

get_access_token()

class CustomOIDCAuthenticationProvider

Custom OIDC authentication implementation Args: config (MetadataServerConfig): Attributes: config (MetadataServerConfig)

method __init__

__init__(config: OpenMetadataConnection) → None

method auth_token

auth_token() → None

classmethod create

create(config: OpenMetadataConnection) → CustomOIDCAuthenticationProvider

method get_access_token

get_access_token() → Tuple[str, int]

class OpenMetadataAuthenticationProvider

OpenMetadata authentication implementation Args: config (MetadataServerConfig): Attributes: config (MetadataServerConfig)

method __init__

__init__(config: OpenMetadataConnection)

method auth_token

auth_token() → None

classmethod create

create(config: OpenMetadataConnection)

method get_access_token

get_access_token()