コード例 #1
0
        private static LockboxSettings InitializeLockboxSettings(LockboxSettings settings)
        {
            settings.SecretKey = GetParameterOrFail(settings.SecretKey,
                                                    SecretKeyEnvironmentVariable, "secret key");

            return(settings);
        }
コード例 #2
0
 public JwtTokenHandler(LockboxSettings lockboxSettings)
 {
     _jwtSecretKey = Encoding.Unicode.GetBytes(lockboxSettings.SecretKey);
 }