예제 #1
0
 /// <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)
 {
 }
예제 #4
0
 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; }
예제 #12
0
 /// <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;
 }