def __init__(self, key, auth_methods):
    if (not isinstance(key, Key)):
        raise TypeError('key must be a ucam_wls.signing.Key instance')
    self.key = key
    self.auth_methods = auth_methods
def __init__(self, key, auth_methods):
    if (not isinstance(key, Key)):
        raise TypeError('key must be a ucam_wls.signing.Key instance')
    self.key = key
    self.auth_methods = auth_methods