/// <summary> /// Initializes a new instance of the <see cref="AuthenticatedClient"/> class. /// </summary> /// <param name="clientWrapper">A preconfigured client for the <see cref="AuthenticatedClient.BaseClient"/></param> public AuthenticatedClient(IOktaHttpClient clientWrapper) { this.BaseClient = clientWrapper; }
/// <summary> /// Initializes a new instance of the <see cref="ApiClient{T}"/> class. /// </summary> /// <param name="clientWrapper">The client wrapper.</param> /// <param name="resourcePath">The resource path.</param> public ApiClient(IOktaHttpClient clientWrapper, string resourcePath) : base(clientWrapper) { this.resourcePath = resourcePath; }
public UsersClient(IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.UsersEndpoint) { }
public UserAppLinksClient(User user, IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.UsersEndpoint + "/" + user.Id + Constants.AppLinksEndpoint) { }
public OrgFactorsClient(IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.OrgEndpoint + Constants.FactorsEndpoint) { }
public SessionsClient(IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.SessionsEndpoint) { }
public AppGroupsClient(App app, IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.AppsEndpoint + "/" + app.Id + Constants.GroupsEndpoint) { }
public AuthClient(IOktaHttpClient clientWrapper) : base(clientWrapper) { resourcePath = Constants.EndpointV1 + Constants.AuthnEndpoint; }
public GroupsClient(IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.GroupsEndpoint) { }
public GroupUsersClient(Group group, IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.GroupsEndpoint + "/" + group.Id + Constants.UsersEndpoint) { }
public AuthClient(IOktaHttpClient clientWrapper) : base(clientWrapper) { resourcePath = Constants.EndpointV1 + Constants.AuthnEndpoint; }
/// <summary> /// Initializes a new instance of the <see cref="AuthenticatedClient"/> class. /// </summary> /// <param name="clientWrapper">A preconfigured client for the <see cref="AuthenticatedClient.BaseClient"/></param> public AuthenticatedClient(IOktaHttpClient clientWrapper) { this.BaseClient = clientWrapper; }