File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed
test/ApiAuth.IS.Test/Configuration Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 5
5
<PropertyGroup Label =" Package Versions" >
6
6
<AngleSharpPackageVersion >0.9.9</AngleSharpPackageVersion >
7
7
<InternalAspNetCoreSdkPackageVersion >2.2.0-preview2-20181004.6</InternalAspNetCoreSdkPackageVersion >
8
- <IdentityServer4PackageVersion >2.3.0-preview1-update2</ IdentityServer4PackageVersion >
9
- <IdentityServer4AspNetIdentityPackageVersion >2.3.0-preview1-update2</ IdentityServer4AspNetIdentityPackageVersion >
10
- <IdentityServer4EntityFrameworkPackageVersion >2.3.0-preview1-update1</ IdentityServer4EntityFrameworkPackageVersion >
8
+ <IdentityServer4AspNetIdentityPackageVersion >2.3.0</ IdentityServer4AspNetIdentityPackageVersion >
9
+ <IdentityServer4EntityFrameworkPackageVersion >2.3.0</ IdentityServer4EntityFrameworkPackageVersion >
10
+ <IdentityServer4PackageVersion >2.3.0</ IdentityServer4PackageVersion >
11
11
<MicrosoftAspNetCoreAuthenticationCookiesPackageVersion >2.2.0-preview3-35425</MicrosoftAspNetCoreAuthenticationCookiesPackageVersion >
12
12
<MicrosoftAspNetCoreAuthenticationFacebookPackageVersion >2.2.0-preview3-35425</MicrosoftAspNetCoreAuthenticationFacebookPackageVersion >
13
13
<MicrosoftAspNetCoreAuthenticationGooglePackageVersion >2.2.0-preview3-35425</MicrosoftAspNetCoreAuthenticationGooglePackageVersion >
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ public void Configure(IdentityServerOptions options)
16
16
options . Events . RaiseFailureEvents = true ;
17
17
options . Events . RaiseSuccessEvents = true ;
18
18
options . Authentication . CookieAuthenticationScheme = IdentityConstants . ApplicationScheme ;
19
- options . UserInteraction . LoginUrl = "/Identity/Account/Login" ;
20
- options . UserInteraction . LogoutUrl = "/Identity/Account/Logout" ;
21
- options . UserInteraction . ErrorUrl = "/Identity/Error" ;
22
19
}
23
20
}
24
21
}
Original file line number Diff line number Diff line change @@ -35,10 +35,15 @@ public ApiAuthorizationDbContext(
35
35
}
36
36
37
37
/// <summary>
38
- /// Gets or sets the <see cref="PersistedGrant"/>.
38
+ /// Gets or sets the <see cref="DbSet{ PersistedGrant} "/>.
39
39
/// </summary>
40
40
public DbSet < PersistedGrant > PersistedGrants { get ; set ; }
41
41
42
+ /// <summary>
43
+ /// Gets or sets the <see cref="DbSet{DeviceFlowCodes}"/>.
44
+ /// </summary>
45
+ public DbSet < DeviceFlowCodes > DeviceFlowCodes { get ; set ; }
46
+
42
47
Task < int > IPersistedGrantDbContext . SaveChangesAsync ( ) => base . SaveChangesAsync ( ) ;
43
48
44
49
/// <inheritdoc />
Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ public void Configure_SetsUpIdentityPathsAndCookie()
20
20
configure . Configure ( options ) ;
21
21
22
22
// Assert
23
- Assert . Equal ( "/Identity/Account/Login" , options . UserInteraction . LoginUrl ) ;
24
- Assert . Equal ( "/Identity/Account/Logout" , options . UserInteraction . LogoutUrl ) ;
25
- Assert . Equal ( "/Identity/Error" , options . UserInteraction . ErrorUrl ) ;
26
23
Assert . Equal ( IdentityConstants . ApplicationScheme , options . Authentication . CookieAuthenticationScheme ) ;
27
24
}
28
25
You can’t perform that action at this time.
0 commit comments