QuickOPC User's Guide and Reference
GetSecurityToken Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.IdentityModel.User Namespace > TokenSelectionPolicy Class : GetSecurityToken Method
Infrastructure.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Overridable Function GetSecurityToken( _
   ByVal tokenInfo As TokenInfo, _
   ByVal tokenInfoPolicy As TokenInfoPolicy _
) As SecurityToken
'Usage
 
Dim instance As TokenSelectionPolicy
Dim tokenInfo As TokenInfo
Dim tokenInfoPolicy As TokenInfoPolicy
Dim value As SecurityToken
 
value = instance.GetSecurityToken(tokenInfo, tokenInfoPolicy)
[CanBeNull()]
public virtual SecurityToken GetSecurityToken( 
   TokenInfo tokenInfo,
   TokenInfoPolicy tokenInfoPolicy
)
[CanBeNull()]
public:
virtual SecurityToken^ GetSecurityToken( 
   TokenInfo^ tokenInfo,
   TokenInfoPolicy^ tokenInfoPolicy
) 

Parameters

tokenInfo
tokenInfoPolicy
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also