async Task <D2LSecurityToken> IPrivateKeyProvider.GetSigningCredentialsAsync()
        {
            D2LSecurityToken result = await m_inner.GetSigningCredentialsAsync().SafeAsync();

            JsonWebKey jwk = result.ToJsonWebKey();

            await m_publicKeyDataProvider.SaveAsync(jwk).SafeAsync();

            return(result);
        }
Esempio n. 2
0
        async Task <D2LSecurityToken> IPrivateKeyProvider.GetSigningCredentialsAsync()
        {
            D2LSecurityToken result = await m_inner.GetSigningCredentialsAsync().ConfigureAwait(false);

            JsonWebKey jwk = result.ToJsonWebKey();

            await m_publicKeyDataProvider.SaveAsync(new Guid( jwk.Id ), jwk).ConfigureAwait(false);

            return(result);
        }