-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add kimsufi.GetCurrentCredential, rename TestAuth > GetAuthDetail
- Loading branch information
1 parent
97f158f
commit b29c485
Showing
2 changed files
with
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package authentication | ||
|
||
type CurrentCredentialResponse struct { | ||
ApplicationID int `json:"applicationId"` | ||
Creation string `json:"creation"` | ||
CredentialID int `json:"credentialId"` | ||
Expiration string `json:"expiration"` | ||
LastUse string `json:"lastUse"` | ||
OVHSupport bool `json:"ovhSupport"` | ||
Rules []CurrentCredentialRule `json:"rules"` | ||
Status string `json:"status"` | ||
} | ||
|
||
type CurrentCredentialRule struct { | ||
Method string `json:"method"` | ||
Path string `json:"path"` | ||
} |
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