adobe.pdfservices.operation.internal.auth package
Submodules
adobe.pdfservices.operation.internal.auth.auth_factory module
- class adobe.pdfservices.operation.internal.auth.auth_factory.AuthenticatorFactory
Bases:
object
- static get_authenticator(credential: Credentials, client_config: ClientConfig)
adobe.pdfservices.operation.internal.auth.authenticator module
adobe.pdfservices.operation.internal.auth.service_principal_authenticator module
- class adobe.pdfservices.operation.internal.auth.service_principal_authenticator.ServicePrincipalAuthenticator(service_principal_configuration, client_config)
Bases:
Authenticator
Authenticator for OAuth Server-to-Server based Service Principal credentials
- get_api_key()
API key for Service Principle credentials
- handle_ims_failure(response)
Handling of IMS failure during call to PDF Services API
- refresh_token()
Refreshes the access token sent to PDF Services API
- service_principal_configuration: ServicePrincipalCredentials
- session_token()
Access token for the PDF Services API
- time_to_expire()
Time remaining in minutes till token expiry
- token: SessionToken = None
- token_endpoint = ''
adobe.pdfservices.operation.internal.auth.service_token_authenticator module
- class adobe.pdfservices.operation.internal.auth.service_token_authenticator.ServiceTokenAuthenticator(service_token_credentials: ServiceTokenCredentials)
Bases:
Authenticator
- get_api_key() str
- refresh_token() SessionToken
- session_token() SessionToken