TokenValidationParameters.AllowedAudiences Property

Gets or sets a collection of audiences that are considered valid.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Public Property AllowedAudiences As IEnumerable(Of String)
public IEnumerable<string> AllowedAudiences { get; set; }
public:
property IEnumerable<String^>^ AllowedAudiences {
    IEnumerable<String^>^ get ();
    void set (IEnumerable<String^>^ value);
}
member AllowedAudiences : IEnumerable<string> with get, set
function get AllowedAudiences () : IEnumerable<String>
function set AllowedAudiences (value : IEnumerable<String>)

Property Value

Type: System.Collections.Generic.IEnumerable<String>
Returns IEnumerable<T>.

.NET Framework Security

See Also

Reference

TokenValidationParameters Class

System.IdentityModel.Tokens Namespace