Create the security token reference for
tokens handled by this instance.
Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As SecurityTokenHandler
Dim token As SecurityToken
Dim attached As Boolean
Dim returnValue As SecurityKeyIdentifierClause
returnValue = instance.CreateSecurityTokenReference(token, attached)
|
Syntax
Visual Basic |
Public Overridable Function CreateSecurityTokenReference ( _
token As SecurityToken, _
attached As Boolean _
) As SecurityKeyIdentifierClause
|
C# |
public virtual SecurityKeyIdentifierClause CreateSecurityTokenReference (
SecurityToken token,
bool attached
)
|
C++ |
public:
virtual SecurityKeyIdentifierClause^ CreateSecurityTokenReference (
SecurityToken^ token,
bool attached
)
|
J# |
public SecurityKeyIdentifierClause CreateSecurityTokenReference (
SecurityToken token,
boolean attached
)
|
JScript |
public function CreateSecurityTokenReference (
token : SecurityToken,
attached : boolean
) : SecurityKeyIdentifierClause
|
Parameters
- token
-
The SecurityToken instance for which the references needs to be
created.
- attached
-
Boolean that indicates if a attached or unattached reference
needs to be created.
Return Value
SecurityKeyIdentifierClause
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also