/// <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;
 }
示例#2
0
 /// <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;
 }
示例#3
0
 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)
 {
 }
示例#5
0
 public OrgFactorsClient(IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.OrgEndpoint + Constants.FactorsEndpoint)
 {
 }
示例#6
0
 public SessionsClient(IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.SessionsEndpoint)
 {
 }
示例#7
0
 public AppGroupsClient(App app, IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.AppsEndpoint + "/" + app.Id + Constants.GroupsEndpoint)
 {
 }
示例#8
0
 public AuthClient(IOktaHttpClient clientWrapper) : base(clientWrapper)
 {
     resourcePath = Constants.EndpointV1 + Constants.AuthnEndpoint;
 }
示例#9
0
 public GroupsClient(IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.GroupsEndpoint)
 {
 }
示例#10
0
 public GroupUsersClient(Group group, IOktaHttpClient clientWrapper) : base(clientWrapper, Constants.EndpointV1 + Constants.GroupsEndpoint + "/" + group.Id + Constants.UsersEndpoint)
 {
 }
示例#11
0
 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;
 }