AbstractSessionGenerateToken Method |
Return a generated token to be used for authorization.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.23.1.1
Syntax public CorrelationID GenerateToken()
Public Function GenerateToken As CorrelationID
public:
virtual CorrelationID^ GenerateToken() sealed
abstract GenerateToken : unit -> CorrelationID
override GenerateToken : unit -> CorrelationID
Return Value
Type:
CorrelationID a CorrelationID for this asynchronous openService request.
Implements
IAbstractSessionGenerateTokenExceptions Exception | Condition |
---|
InvalidOperationException |
Session is not started.
|
ArgumentException |
Invalid authentication option is specified in session option or there is failure
to get authentication information based on authentication option.
|
Remarks
Generate a token to be used for authorization
See Also