File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -18,32 +18,32 @@ public static class <%= name %>AuthenticationDefaults {
1818 public const string AuthenticationScheme = "<%= name %>" ;
1919
2020 /// <summary>
21- /// Default value for <see cref="OAuthAuthenticationOptions .Caption"/>.
21+ /// Default value for <see cref="OAuthOptions .Caption"/>.
2222 /// </summary>
2323 public const string Caption = "<%= name %>" ;
2424
2525 /// <summary>
26- /// Default value for <see cref="OAuthAuthenticationOptions .ClaimsIssuer"/>.
26+ /// Default value for <see cref="OAuthOptions .ClaimsIssuer"/>.
2727 /// </summary>
2828 public const string Issuer = "<%= name %>" ;
2929
3030 /// <summary>
31- /// Default value for <see cref="OAuthAuthenticationOptions .CallbackPath"/>.
31+ /// Default value for <see cref="OAuthOptions .CallbackPath"/>.
3232 /// </summary>
3333 public const string CallbackPath = "/signin-<%= name.toLowerCase() %>" ;
3434
3535 /// <summary>
36- /// Default value for <see cref="OAuthAuthenticationOptions .AuthorizationEndpoint"/>.
36+ /// Default value for <see cref="OAuthOptions .AuthorizationEndpoint"/>.
3737 /// </summary>
3838 public const string AuthorizationEndpoint = "<%= authorizationendpoint %>" ;
3939
4040 /// <summary>
41- /// Default value for <see cref="OAuthAuthenticationOptions .TokenEndpoint"/>.
41+ /// Default value for <see cref="OAuthOptions .TokenEndpoint"/>.
4242 /// </summary>
4343 public const string TokenEndpoint = "<%= tokenendpoint %>" ;
4444
4545 /// <summary>
46- /// Default value for <see cref="OAuthAuthenticationOptions .UserInformationEndpoint"/>.
46+ /// Default value for <see cref="OAuthOptions .UserInformationEndpoint"/>.
4747 /// </summary>
4848 public const string UserInformationEndpoint = "<%= userinformationendpoint %>" ;
4949 }
Original file line number Diff line number Diff line change 1616using Newtonsoft . Json . Linq ;
1717
1818namespace AspNet . Security . OAuth . < %= name % > {
19- public class < %= name % > AuthenticationHandler : OAuthAuthenticationHandler < < %= name % > AuthenticationOptions> {
19+ public class < %= name % > AuthenticationHandler : OAuthHandler < < %= name % > AuthenticationOptions> {
2020 public < %= name % > AuthenticationHandler ( [ NotNull ] HttpClient client )
2121 : base ( client ) {
2222 }
Original file line number Diff line number Diff line change 1414using Microsoft . Framework . WebEncoders ;
1515
1616namespace AspNet . Security . OAuth . < %= name % > {
17- public class < %= name % > AuthenticationMiddleware : OAuthAuthenticationMiddleware < < %= name % > AuthenticationOptions> {
17+ public class < %= name % > AuthenticationMiddleware : OAuthMiddleware < < %= name % > AuthenticationOptions> {
1818 public < %= name % > AuthenticationMiddleware (
1919 [ NotNull ] RequestDelegate next ,
2020 [ NotNull ] IDataProtectionProvider dataProtectionProvider ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace AspNet.Security.OAuth.<%= name %> {
1111 /// <summary>
1212 /// Defines a set of options used by <see cref="<%= name %>AuthenticationHandler"/>.
1313 /// </summary>
14- public class < %= name % > AuthenticationOptions : OAuthAuthenticationOptions {
14+ public class < %= name % > AuthenticationOptions : OAuthOptions {
1515 public < %= name % > AuthenticationOptions ( ) {
1616 AuthenticationScheme = < %= name % > AuthenticationDefaults . AuthenticationScheme ;
1717 Caption = < %= name % > AuthenticationDefaults . Caption ;
Original file line number Diff line number Diff line change 11{
22 "name" : " generator-aspnet-oauth" ,
3- "version" : " 0 .0.0 " ,
3+ "version" : " 1 .0.2 " ,
44 "description" : " Yeoman generator for OAuth Providers for ASP.NET 5" ,
55 "license" : " MIT" ,
66 "main" : " app/index.js" ,
You can’t perform that action at this time.
0 commit comments