Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdan committed Jun 8, 2020
1 parent ed63eae commit 0fa560a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,10 +405,10 @@ public Task<ClientResponse<RESTVoid>> DeleteIdentityProviderAsync(Guid? identity
}

/// <inheritdoc/>
public Task<ClientResponse<RESTVoid>> DeleteKeyAsync(Guid? keyOd) {
public Task<ClientResponse<RESTVoid>> DeleteKeyAsync(Guid? keyId) {
return buildClient()
.withUri("/api/key")
.withUriSegment(keyOd)
.withUriSegment(keyId)
.withMethod("Delete")
.goAsync<RESTVoid>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ public ClientResponse<RESTVoid> DeleteIdentityProvider(Guid? identityProviderId)
}

/// <inheritdoc/>
public ClientResponse<RESTVoid> DeleteKey(Guid? keyOd) {
return client.DeleteKeyAsync(keyOd).GetAwaiter().GetResult();
public ClientResponse<RESTVoid> DeleteKey(Guid? keyId) {
return client.DeleteKeyAsync(keyId).GetAwaiter().GetResult();
}

/// <inheritdoc/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,14 +526,14 @@ public interface IFusionAuthAsyncClient {
/// Deletes the key for the given Id.
/// This is an asynchronous method.
/// </summary>
/// <param name="keyOd"> The Id of the key to delete.</param>
/// <param name="keyId"> The Id of the key to delete.</param>
/// <returns>
/// When successful, the response will contain the log of the action. If there was a validation error or any
/// other type of error, this will return the Errors object in the response. Additionally, if FusionAuth could not be
/// contacted because it is down or experiencing a failure, the response will contain an Exception, which could be an
/// IOException.
/// </returns>
Task<ClientResponse<RESTVoid>> DeleteKeyAsync(Guid? keyOd);
Task<ClientResponse<RESTVoid>> DeleteKeyAsync(Guid? keyId);

/// <summary>
/// Deletes the lambda for the given Id.
Expand Down Expand Up @@ -3282,14 +3282,14 @@ public interface IFusionAuthSyncClient {
/// <summary>
/// Deletes the key for the given Id.
/// </summary>
/// <param name="keyOd"> The Id of the key to delete.</param>
/// <param name="keyId"> The Id of the key to delete.</param>
/// <returns>
/// When successful, the response will contain the log of the action. If there was a validation error or any
/// other type of error, this will return the Errors object in the response. Additionally, if FusionAuth could not be
/// contacted because it is down or experiencing a failure, the response will contain an Exception, which could be an
/// IOException.
/// </returns>
ClientResponse<RESTVoid> DeleteKey(Guid? keyOd);
ClientResponse<RESTVoid> DeleteKey(Guid? keyId);

/// <summary>
/// Deletes the lambda for the given Id.
Expand Down

0 comments on commit 0fa560a

Please sign in to comment.