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