pub fn create_token( store: &AuthStore, p: &Principal, b: NewToken, ) -> Result<Value, AuthError>
Mint an API token for the caller: {token, info}, the token shown once.
{token, info}