JwtSecurityTokenHandler.CreateSecurityTokenReference Method

Creates SecurityKeyIdentifierClause that identifies the SecurityToken.

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

Syntax

'Declaration
Public Overridable Function CreateSecurityTokenReference ( _
    token As SecurityToken, _
    attached As Boolean _
) As SecurityKeyIdentifierClause
public virtual SecurityKeyIdentifierClause CreateSecurityTokenReference(
    SecurityToken token,
    bool attached
)
public:
virtual SecurityKeyIdentifierClause^ CreateSecurityTokenReference(
    SecurityToken^ token, 
    bool attached
)
abstract CreateSecurityTokenReference : 
        token:SecurityToken * 
        attached:bool -> SecurityKeyIdentifierClause  
override CreateSecurityTokenReference : 
        token:SecurityToken * 
        attached:bool -> SecurityKeyIdentifierClause
public function CreateSecurityTokenReference(
    token : SecurityToken, 
    attached : boolean
) : SecurityKeyIdentifierClause

Parameters

Return Value

Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Always returns null

Remarks

Called by the mainline scenarios which would result in the base class throwing a NotImplementedException.

If the SecurityKeyIdentifierClause is required override this method.

.NET Framework Security

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace