Source code for ingenico.connect.sdk.defaultimpl.authorization_type

[docs] class AuthorizationType: def __init__(self): pass V1HMAC = "v1HMAC" AUTHORIZATION_TYPES = [V1HMAC]
[docs] @staticmethod def get_authorization(name): if name in AuthorizationType.AUTHORIZATION_TYPES: return name else: raise ValueError("Authorization '{}' not found".format(name))