AzureAD / SCIMReferenceCode

Reference code to build a SCIM endpoint to automate provisioning
MIT License
163 stars 107 forks source link

Is TryGetRequestIdentifier() extension method incomplete? #94

Open MithunChopda opened 1 year ago

MithunChopda commented 1 year ago
    public static bool TryGetRequestIdentifier(this HttpRequestMessage request, out string requestIdentifier)
    {
        request?.Headers.TryGetValues("client-id", out IEnumerable<string> _);
        requestIdentifier = Guid.NewGuid().ToString();
        return true;
    }

What is the purpose of request?.Headers.TryGetValues("client-id", out IEnumerable<string> _)?