@classmethod<EOL><INDENT>def make_token(cls, ephemeral_token: '<STR_LIT>') -> str:<DEDENT>
value = ephemeral_token.key<EOL>if ephemeral_token.scope:<EOL><INDENT>value += '<STR_LIT>'.join(ephemeral_token.scope)<EOL><DEDENT>return get_hmac(cls.KEY_SALT + ephemeral_token.salt, value)[::<NUM_LIT:2>]<EOL>
Returns a token to be used x number of times to allow a user account to access
certain resource.