-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle HTTP Gone responses from Hydra
This is a common error if a user resubmits a form.
- Loading branch information
1 parent
a087ab1
commit c55d03e
Showing
3 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/kotlin/sh/ory/hydra/model/RequestWasHandledResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* ORY Hydra | ||
* Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here. | ||
* | ||
* The version of the OpenAPI document: latest | ||
* * | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
package sh.ory.hydra.model | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty | ||
|
||
/** | ||
* * @param redirectTo Original request URL to which you should redirect the user if request was already handled. | ||
*/ | ||
|
||
data class RequestWasHandledResponse( | ||
/* Original request URL to which you should redirect the user if request was already handled. */ | ||
@field:JsonProperty("redirect_to") | ||
val redirectTo: kotlin.String | ||
) |