public void FromOtherOptions(MiCakeJwtOptions otherOptios) { SecurityKey = otherOptios.SecurityKey; Algorithm = otherOptios.Algorithm; Issuer = otherOptios.Issuer; Audience = otherOptios.Audience; ExpirationMinutes = otherOptios.ExpirationMinutes; EncryptingCredentials = otherOptios.EncryptingCredentials; }
public JwtSupporter(IOptions <MiCakeJwtOptions> jwtOptions) { miCakeJwtOptions = jwtOptions?.Value; }