Ejemplo n.º 1
0
 /// <inheritdoc/>
 public IOktaClient CreatedScoped(RequestContext requestContext)
 => new OktaClient(_dataStore, Configuration, requestContext);
Ejemplo n.º 2
0
 internal UserSchemasClient(IDataStore dataStore, OktaClientConfiguration configuration, RequestContext requestContext)
     : base(dataStore, configuration, requestContext)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OktaClient"/> class.
 /// </summary>
 /// <param name="dataStore">The <see cref="IDataStore">DataStore</see> to use.</param>
 /// <param name="configuration">The client configuration.</param>
 /// <param name="requestContext">The request context, if any.</param>
 /// <remarks>This overload is used internally to create cheap copies of an existing client.</remarks>
 protected OktaClient(IDataStore dataStore, OktaClientConfiguration configuration, RequestContext requestContext)
 {
     _dataStore      = dataStore ?? throw new ArgumentNullException(nameof(dataStore));
     Configuration   = configuration;
     _requestContext = requestContext;
 }