Skip to main content

create_token

Function create_token 

Source
pub fn create_token(
    store: &AuthStore,
    p: &Principal,
    b: NewToken,
) -> Result<Value, AuthError>
Expand description

Mint an API token for the caller: {token, info}, the token shown once.