Initializes a new instance of the OpenTokenCredentials class.

Namespace:  FileNet.Api.Authentication
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Sub New ( _
	uname As String, _
	token As String, _
	realm As String _
)
C#
public OpenTokenCredentials(
	string uname,
	string token,
	string realm
)
Visual C++
public:
OpenTokenCredentials(
	String^ uname, 
	String^ token, 
	String^ realm
)
JavaScript
FileNet.Api.Authentication.OpenTokenCredentials = function(uname, token, realm);

Parameters

uname
Type: System..::.String
A String representing the user name portion of the security credentials.
token
Type: System..::.String
A String representing the OAuth or OIDC token
realm
Type: System..::.String
An optional String giving the realm from which token originates, specified if the CPE server can accept requests from multiple IdPs. If provided, should match an authentication filter for the auth-token-realm HTTP header in the CPE openidConnectClient WebSphere configuration, when multiple IdPs are configured.

ToggleSee Also