Skip to main content

Class XperiflowAuthClient

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

Assembly: Xperiflow.dll

Declaration
public class XperiflowAuthClient : IXperiflowAuthClient

Implements: Workspace.XBR.Xperiflow.Core.RestApi.Auth.IXperiflowAuthClient

Properties​

JsonSerializerSettings​

Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }

ReadResponseAsString​

Declaration
public bool ReadResponseAsString { get; set; }

Methods​

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

ProvisionDataflowRefreshTokenResource

Declaration
public virtual 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.

ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)​

Declaration
protected virtual Task<XperiflowAuthClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Returns​

Task<Workspace.XBR.Xperiflow.Core.RestApi.Auth.XperiflowAuthClient.ObjectResponseResult{{T}}>

Parameters​
TypeName
System.Net.Http.HttpResponseMessageresponse
System.Collections.Generic.IReadOnlyDictionary<System.String,System.Collections.Generic.IEnumerable{System.String}>headers
System.Threading.CancellationTokencancellationToken
Type Parameters​
  • T

Implements​

Inherited Members​

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?