Decode the WWW-Authenticate header

3 posts, 0 answers
  1. Sagi
    Sagi avatar
    61 posts
    Member since:
    Sep 2008

    Posted 11 Mar 2015 Link to this post

    Hi ,
    How can I decode the  WWW-Authenticate header in c#.
    I have the following header :

    I (guess), that the information presented in the "Auth" tab is the decoding of this header.
    A'm I correct ?
    How can I do it in C# ?
  2. Eric Lawrence
    Eric Lawrence avatar
    832 posts

    Posted 13 Mar 2015 Link to this post

    Hello, Sagi--

    The text following the word NEGOTIATE is a base64-encoded byte array. I'm not aware of any open-source C# code that parses this type of byte array.

    Eric Lawrence

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Sung Hoon
    Sung Hoon avatar
    1 posts
    Member since:
    Aug 2018

    Posted 06 Aug in reply to Sagi Link to this post

    Firstly, it is not safe to post your authorize negotiate header values on internet because people can decode it.

    Look for KerberosAuthenticationTester.exe and you should be able to decode it.

Back to Top