Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class Startup
- {
- public static IDataProtector DataProtector;
- public void Configuration(IAppBuilder app)
- {
- //...
- }
- public void ConfigureOAuth(IAppBuilder app)
- {
- //...
- DataProtector = app.CreateDataProtector(typeof (OAuthAuthorizationServerMiddleware).Namespace,
- "Access_Token", "v1");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement