Compute the id from the issuer and subject.
(&self)
| 145 | |
| 146 | // Compute the id from the issuer and subject. |
| 147 | pub fn id(&self) -> Identity { |
| 148 | Identity::from_claims(&self.issuer, &self.subject) |
| 149 | } |
| 150 | |
| 151 | /// Encode the claims into a JWT token and sign it with the provided signer. |
| 152 | /// This also adds claims for expiry and issued at time. |
no outgoing calls