Custom Authorization using ClaimsAuthorizationManager
<blockquote>
  <p>How can i change the raw token value coming from acs with ClaimsAuthenticationManager.I want to add role to the token.i managed to add the role in the claimsidentity but it is not reflected in the raw token.</p>
</blockquote>

<pre><code> string rawToken = string.Empty;

ClaimsIdentity identity = HttpContext.User.Identity as ClaimsIdentity;

if (null != identity)
 {
   SimpleWebToken token = identity.BootstrapToken as SimpleWebToken;

    if (null != token)
     {
       rawToken = token.RawToken;
     }
  }
</code></pre>

<blockquote>
  <p>Role is reflected at identity but its not getting added at bootstrap token.</p>
</blockquote>
