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 {
18
18
public const string AuthenticationScheme = "<%= name %>" ;
19
19
20
20
/// <summary>
21
- /// Default value for <see cref="OAuthAuthenticationOptions .Caption"/>.
21
+ /// Default value for <see cref="OAuthOptions .Caption"/>.
22
22
/// </summary>
23
23
public const string Caption = "<%= name %>" ;
24
24
25
25
/// <summary>
26
- /// Default value for <see cref="OAuthAuthenticationOptions .ClaimsIssuer"/>.
26
+ /// Default value for <see cref="OAuthOptions .ClaimsIssuer"/>.
27
27
/// </summary>
28
28
public const string Issuer = "<%= name %>" ;
29
29
30
30
/// <summary>
31
- /// Default value for <see cref="OAuthAuthenticationOptions .CallbackPath"/>.
31
+ /// Default value for <see cref="OAuthOptions .CallbackPath"/>.
32
32
/// </summary>
33
33
public const string CallbackPath = "/signin-<%= name.toLowerCase() %>" ;
34
34
35
35
/// <summary>
36
- /// Default value for <see cref="OAuthAuthenticationOptions .AuthorizationEndpoint"/>.
36
+ /// Default value for <see cref="OAuthOptions .AuthorizationEndpoint"/>.
37
37
/// </summary>
38
38
public const string AuthorizationEndpoint = "<%= authorizationendpoint %>" ;
39
39
40
40
/// <summary>
41
- /// Default value for <see cref="OAuthAuthenticationOptions .TokenEndpoint"/>.
41
+ /// Default value for <see cref="OAuthOptions .TokenEndpoint"/>.
42
42
/// </summary>
43
43
public const string TokenEndpoint = "<%= tokenendpoint %>" ;
44
44
45
45
/// <summary>
46
- /// Default value for <see cref="OAuthAuthenticationOptions .UserInformationEndpoint"/>.
46
+ /// Default value for <see cref="OAuthOptions .UserInformationEndpoint"/>.
47
47
/// </summary>
48
48
public const string UserInformationEndpoint = "<%= userinformationendpoint %>" ;
49
49
}
Original file line number Diff line number Diff line change 16
16
using Newtonsoft . Json . Linq ;
17
17
18
18
namespace AspNet . Security . OAuth . < %= name % > {
19
- public class < %= name % > AuthenticationHandler : OAuthAuthenticationHandler < < %= name % > AuthenticationOptions> {
19
+ public class < %= name % > AuthenticationHandler : OAuthHandler < < %= name % > AuthenticationOptions> {
20
20
public < %= name % > AuthenticationHandler ( [ NotNull ] HttpClient client )
21
21
: base ( client ) {
22
22
}
Original file line number Diff line number Diff line change 14
14
using Microsoft . Framework . WebEncoders ;
15
15
16
16
namespace AspNet . Security . OAuth . < %= name % > {
17
- public class < %= name % > AuthenticationMiddleware : OAuthAuthenticationMiddleware < < %= name % > AuthenticationOptions> {
17
+ public class < %= name % > AuthenticationMiddleware : OAuthMiddleware < < %= name % > AuthenticationOptions> {
18
18
public < %= name % > AuthenticationMiddleware (
19
19
[ NotNull ] RequestDelegate next ,
20
20
[ NotNull ] IDataProtectionProvider dataProtectionProvider ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace AspNet.Security.OAuth.<%= name %> {
11
11
/// <summary>
12
12
/// Defines a set of options used by <see cref="<%= name %>AuthenticationHandler"/>.
13
13
/// </summary>
14
- public class < %= name % > AuthenticationOptions : OAuthAuthenticationOptions {
14
+ public class < %= name % > AuthenticationOptions : OAuthOptions {
15
15
public < %= name % > AuthenticationOptions ( ) {
16
16
AuthenticationScheme = < %= name % > AuthenticationDefaults . AuthenticationScheme ;
17
17
Caption = < %= name % > AuthenticationDefaults . Caption ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " generator-aspnet-oauth" ,
3
- "version" : " 0 .0.0 " ,
3
+ "version" : " 1 .0.2 " ,
4
4
"description" : " Yeoman generator for OAuth Providers for ASP.NET 5" ,
5
5
"license" : " MIT" ,
6
6
"main" : " app/index.js" ,
You can’t perform that action at this time.
0 commit comments