Function forest_filecoin::auth::create_token
source ยท pub fn create_token(
perms: Vec<String>,
key: &[u8],
token_exp: Duration,
) -> Result<String>
Expand description
Create a new JWT Token
pub fn create_token(
perms: Vec<String>,
key: &[u8],
token_exp: Duration,
) -> Result<String>
Create a new JWT Token