Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

AuthenticationTicket authenticationProperties C# .net

public override Task TokenEndpoint(OAuthTokenEndpointContext context)
    {
        foreach (KeyValuePair<string, string> property in context.Properties.Dictionary)
        {
            context.AdditionalResponseParameters.Add(property.Key, property.Value);
        }
        return Task.FromResult<object>(null);
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #AuthenticationTicket #authenticationProperties
ADD COMMENT
Topic
Name
4+3 =