Issue Method
Definition
- Namespace
- Codebelt.SharedKernel.Security
- Assemblies
- Codebelt.SharedKernel.dll
Issue(Secret, TimeToLive)
Issues a new instance of AccessKey with an optional lifespan.
public static AccessKey Issue(Secret secret, TimeToLive lifespan = null)
Parameters
secretSecretThe secret used to generate the access key.
lifespanTimeToLiveThe lifespan of the AccessKey. If
null, the access key will not expire.