IRPCWOPIOperations.CreateWOPIUserSession -- Creates a WOPI user session for one file version and returns its token (or a one-time token that can be exchanged for it).
IRPCWOPIOperationsPublic.GetWOPIUserSession -- Gets the details of a WOPI user session: the shared object and file version, the action, the user and whether editing is allowed.
Used in fields
CreateWOPIUserSessionRequest.type -- WOPITOKEN_TYPE_WOPIVAULT_USER_SESSION_TOKEN (the default) returns the session token itself; WOPITOKEN_TYPE_ONE_TIME_TOKEN returns a one-time token, for passing in a URL. WOPITOKEN_TYPE_WOPICONTAINER_TOKEN is rejected.
GetWOPIUserSessionRequest.type -- WOPITOKEN_TYPE_WOPIVAULT_USER_SESSION_TOKEN (the default) or WOPITOKEN_TYPE_WOPICONTAINER_TOKEN.