pub fn encode_unsecured(
        &self,
        payload: &JwtPayload,
        header: &JwsHeader,
    ) -> Result<String, JoseError> {
        self.encode_with_signer(payload, header, &jwt::None.signer())
    }
/// Return the string repsentation of the JWT with a "none" algorithm.
///
/// # Arguments
///
/// * `payload` - The payload data.
/// * `header` - The JWT heaser claims.
Return the string repsentation of the JWT with a "none" algorithm.
Return the string repsentation of the JWT with a " none " algorithm .
pub fn encode_unsecured(
        &self,
        payload: &JwtPayload,
        header: &JwsHeader,
    ) -> Result<String, JoseError> {
        self.encode_with_signer(payload, header, &jwt::None.signer())
    }
pub fn encode_unsecured ( & self , payload : & JwtPayload , header : & JwsHeader , ) -> Result < String , JoseError > { self . encode_with_signer ( payload , header , & jwt :: None . signer ( ) ) }
Return the string repsentation of the JWT with a "none" algorithm.
Return the string repsentation of the JWT with a " none " algorithm .
&self
payload
&JwtPayload
header
&JwsHeader
&self
payload
&JwtPayload
header
&JwsHeader