authorisation_checkers
Authorisation Checkers.
Module
Functions
check_identity_verification_method
def check_identity_verification_method( method: Union[str, IdentityVerificationMethod],) ‑> IdentityVerificationMethod:Checks that the verification method is supported.
Global variables
DEFAULT_IDENTITY_VERIFICATION_METHOD : Final[str]- Default identity verification method
IDENTITY_VERIFICATION_METHODS : Final[tuple[str, ...]]- Allowed types of identity verification as a tuple of strings
Classes
AuthCheckResponse
class AuthCheckResponse( pod_response_message: _PodResponseMessage, protocol_context: ProtocolContext,):Response regarding an authentication check.
Contains information on whether the task is allowed to run, as well as any other run-time details needed by the task that are provided by the access manager.
Attributes
pod_response_message: The response of the pod to the task request. Contains information on the modeller, pod, and any messages related to why the task was rejected (if applicable).protocol_context: Details needed for the protocol at runtime, such as usage limits, etc.
Variables
- static
pod_response_message : bitfount.federated.pod_response_message._PodResponseMessage
- static
protocol_context : ProtocolContext
IdentityVerificationMethod
class IdentityVerificationMethod( value, names=None, *, module=None, qualname=None, type=None, start=1,):Allowed types of identity verification.