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 - Promise<EventSAS>

SAS Token to connect to the topic.

Defined in

Last Updated: 13 June, 2024