AuthBridge.Clients.OpenIdClient.GetExtraData C# (CSharp) Method

GetExtraData() protected method

protected GetExtraData ( IAuthenticationResponse response ) : string>.Dictionary
response IAuthenticationResponse
return string>.Dictionary
        protected override Dictionary<string, string> GetExtraData(IAuthenticationResponse response)
        {
            var fetchResponse = response.GetExtension<FetchResponse>();
            if (fetchResponse != null)
            {
                var extraData = new Dictionary<string, string>();
                extraData.AddItemIfNotEmpty(ClaimTypes.IsPersistent, fetchResponse.GetAttributeValue(ClaimTypes.IsPersistent));

                return extraData;
            }
            return null;
        }