37 references to AudienceUriMode
System.IdentityModel (29)
System\IdentityModel\Configuration\AudienceUriElementCollection.cs (5)
18
const
AudienceUriMode
DefaultAudienceUriMode =
AudienceUriMode
.Always;
39
[StandardRuntimeEnumValidator(typeof(
AudienceUriMode
))]
40
public
AudienceUriMode
Mode
42
get { return (
AudienceUriMode
)this[ConfigurationStrings.Mode]; }
System\IdentityModel\Configuration\IdentityConfiguration.cs (1)
657
handlerConfiguration.AudienceRestriction.AudienceMode =
AudienceUriMode
.Always;
System\IdentityModel\Configuration\Properties.cs (3)
62
properties.Add(new ConfigurationProperty("mode", typeof(System.IdentityModel.Selectors.
AudienceUriMode
), System.IdentityModel.Selectors.
AudienceUriMode
.Always, null, new System.IdentityModel.Configuration.StandardRuntimeEnumValidator(typeof(System.IdentityModel.Selectors.
AudienceUriMode
)), System.Configuration.ConfigurationPropertyOptions.None));
System\IdentityModel\Selectors\AudienceUriMode.cs (6)
18
public static bool IsDefined(
AudienceUriMode
validationMode)
20
return validationMode ==
AudienceUriMode
.Never
21
|| validationMode ==
AudienceUriMode
.Always
22
|| validationMode ==
AudienceUriMode
.BearerKeyOnly;
25
internal static void Validate(
AudienceUriMode
value)
30
typeof(
AudienceUriMode
)));
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (5)
21
AudienceUriMode
audienceUriMode;
41
this.audienceUriMode =
AudienceUriMode
.Always;
45
public
AudienceUriMode
AudienceUriMode
109
if ((this.audienceUriMode ==
AudienceUriMode
.Always)
110
|| (this.audienceUriMode ==
AudienceUriMode
.BearerKeyOnly) && (samlToken.SecurityKeys.Count < 1))
System\IdentityModel\Tokens\AudienceRestriction.cs (4)
16
AudienceUriMode
_audienceMode =
AudienceUriMode
.Always;
30
public AudienceRestriction(
AudienceUriMode
audienceMode )
38
public
AudienceUriMode
AudienceMode
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (5)
285
/// The <see cref="
AudienceUriMode
"/> defining the audience requirement.
291
public virtual bool ShouldEnforceAudienceRestriction(
AudienceUriMode
audienceUriMode, SecurityToken token)
304
case
AudienceUriMode
.Always:
307
case
AudienceUriMode
.Never:
310
case
AudienceUriMode
.BearerKeyOnly:
System.ServiceModel (8)
System\ServiceModel\Configuration\IssuedTokenServiceElement.cs (2)
30
public
AudienceUriMode
AudienceUriMode
32
get { return (
AudienceUriMode
)base[ConfigurationStrings.AudienceUriMode]; }
System\ServiceModel\Configuration\Properties.cs (2)
1487
properties.Add(new ConfigurationProperty("audienceUriMode", typeof(System.IdentityModel.Selectors.
AudienceUriMode
), System.IdentityModel.Selectors.
AudienceUriMode
.Always, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.IdentityModel.Selectors.AudienceUriModeValidationHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Security\IssuedTokenServiceCredential.cs (4)
16
internal const
AudienceUriMode
DefaultAudienceUriMode =
AudienceUriMode
.Always;
22
AudienceUriMode
audienceUriMode = DefaultAudienceUriMode;
63
public
AudienceUriMode
AudienceUriMode