Skip to content

Commit 1b5db12

Browse files
KahbaziTratcher
authored andcommitted
Indicates that SaveTokens is not supported for WsFederation (#10763)
1 parent 75e0115 commit 1b5db12

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/Security/Authentication/WsFederation/ref/Microsoft.AspNetCore.Authentication.WsFederation.netcoreapp3.0.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ public WsFederationOptions() { }
8585
public bool RefreshOnIssuerKeyNotFound { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
8686
public Microsoft.AspNetCore.Http.PathString RemoteSignOutPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
8787
public bool RequireHttpsMetadata { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
88+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
89+
public new bool SaveTokens { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
8890
public System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.ISecurityTokenValidator> SecurityTokenHandlers { get { throw null; } set { } }
8991
public string SignOutScheme { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
9092
public string SignOutWreply { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }

src/Security/Authentication/WsFederation/src/WsFederationOptions.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System;
55
using System.Collections.Generic;
66
using System.Collections.ObjectModel;
7+
using System.ComponentModel;
78
using System.IdentityModel.Tokens.Jwt;
89
using Microsoft.AspNetCore.Http;
910
using Microsoft.IdentityModel.Protocols;
@@ -176,5 +177,11 @@ public TokenValidationParameters TokenValidationParameters
176177
/// is not set.
177178
/// </summary>
178179
public string SignOutScheme { get; set; }
180+
181+
/// <summary>
182+
/// SaveTokens is not supported in WsFederation
183+
/// </summary>
184+
[EditorBrowsable(EditorBrowsableState.Never)]
185+
public new bool SaveTokens { get; set; }
179186
}
180-
}
187+
}

0 commit comments

Comments
 (0)