Share via


TokenValidationParameters.AllowedAudience Property

Gets or sets an audience that is considered valid.

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

Syntax

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

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

TokenValidationParameters Class

System.IdentityModel.Tokens Namespace