MCPcopy Create free account
hub / github.com/saltstack/salt / get_token

Method get_token

salt/master.py:3924–3930  ·  view source on GitHub ↗

Return the name associated with a token or False if the token is invalid

(self, clear_load)

Source from the content-addressed store, hash-verified

3922 return token
3923
3924 def get_token(self, clear_load):
3925 """
3926 Return the name associated with a token or False if the token is invalid
3927 """
3928 if "token" not in clear_load:
3929 return False
3930 return self.loadauth.get_tok(clear_load["token"])
3931
3932 async def publish(self, clear_load):
3933 """

Callers

nothing calls this directly

Calls 1

get_tokMethod · 0.80

Tested by

no test coverage detected