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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.