Skip to main content

Interface IXperiflowAuthClient

Namespace: Workspace.XBR.Xperiflow.Core.RestApi.Auth

Assembly: Xperiflow.dll

Declaration
public interface IXperiflowAuthClient

Derived: Workspace.XBR.Xperiflow.Core.RestApi.Auth.XperiflowAuthClient

Methods​

PostProvisionDataflowRefreshTokenResourceAsync(XperiflowSessionInfo, MemoizedCacheInfo?, int[], CancellationToken)​

ProvisionDataflowRefreshTokenResource

Declaration
Task<NullDataXperiflowResponseContext> PostProvisionDataflowRefreshTokenResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, MemoizedCacheInfo? cacheInfo = null, int[] mutedStatusCodes = null, CancellationToken cancellationToken = default)
Remarks​

Mint and store an xperiflow.server-bound refresh token for the caller. Exchanges the inbound Authorization: Bearer token with OIS and upserts the resulting refresh token in Key Vault under user-id-`{user_id}`-rt (the IAM integer si.user_id), including local disk-cache metadata for the renewal gate. The secret is not returned in the response body.

The caller must already be a provisioned Xperiflow IAM identity (same contract as default-tier REST endpoints using si: XatUser).

Returns​

Task< Workspace.XBR.Xperiflow.Core.RestApi.Auth.NullDataXperiflowResponseContext >

ok

Parameters​
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Int32[]mutedStatusCodes
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions​

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

Was this page helpful?