Share via


JwtSecurityToken.SecurityKeys Property

Gets a collection of SecurityKey objects for this instance.

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

Syntax

'Declaration
Public Overrides ReadOnly Property SecurityKeys As ReadOnlyCollection(Of SecurityKey)
public override ReadOnlyCollection<SecurityKey> SecurityKeys { get; }
public:
virtual property ReadOnlyCollection<SecurityKey^>^ SecurityKeys {
    ReadOnlyCollection<SecurityKey^>^ get () override;
}
abstract SecurityKeys : ReadOnlyCollection<SecurityKey> with get 
override SecurityKeys : ReadOnlyCollection<SecurityKey> with get
override function get SecurityKeys () : ReadOnlyCollection<SecurityKey>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<SecurityKey>
Returns ReadOnlyCollection<T>.

Remarks

By default, an empty collection is returned.

.NET Framework Security

See Also

Reference

JwtSecurityToken Class

System.IdentityModel.Tokens Namespace