def __init__(self, key_size=2048, sign_alg='RS256'):
    self.key_size = key_size
    self.state2key = {}
    self.token2key = {}
    self.alg = sign_alg
def __init__(self, key_size=2048, sign_alg='RS256'):
    self.key_size = key_size
    self.state2key = {}
    self.token2key = {}
    self.alg = sign_alg