getSASToken Method

Get event SAS Token. Used to authenticate for EventHandler.getEvent.

getSASToken(requestContext: AuthorizedClientRequestContext, iModelId: GuidString): Promise<EventSAS>

throws Common iModelHub errors

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context
iModelId GuidString Id of the iModel. See HubIModel.

Returns - SAS Token to connect to the topic.

Defined in

Last Updated: 08 January, 2020