Skip to content

Commit

Permalink
Update SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 7, 2020
1 parent 02e7c22 commit 6446c55
Show file tree
Hide file tree
Showing 19 changed files with 42 additions and 43 deletions.
46 changes: 21 additions & 25 deletions docs/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1803,11 +1803,6 @@
}
},
"definitions": {
"DateTime": {
"description": "DateTime is a time but it serializes to ISO8601 format with millis\nIt knows how to read 3 different variations of a RFC3339 date time.\nMost APIs we encounter want either millisecond or second precision times.\nThis just tries to make it worry-free.",
"type": "string",
"format": "date-time"
},
"JSONWebKey": {
"type": "object",
"required": [
Expand Down Expand Up @@ -1896,6 +1891,7 @@
},
"JSONWebKeySet": {
"type": "object",
"title": "JSONWebKeySet represents a JWK Set object.",
"properties": {
"keys": {
"description": "The value of the \"keys\" parameter is an array of JWK values. By\ndefault, the order of the JWK values within the array does not imply\nan order of preference among them, although applications of JWK Sets\ncan choose to assign a meaning to the order for their purposes, if\ndesired.",
Expand All @@ -1907,7 +1903,7 @@
}
},
"PreviousConsentSession": {
"description": "PreviousConsentSession PreviousConsentSession PreviousConsentSession The response used to return used consent requests\nsame as HandledLoginRequest, just with consent_request exposed as json",
"description": "PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession The response used to return used consent requests\nsame as HandledLoginRequest, just with consent_request exposed as json",
"type": "object",
"properties": {
"consent_request": {
Expand Down Expand Up @@ -1944,7 +1940,7 @@
"UUID": {"type": "string", "format": "uuid4"},
"acceptConsentRequest": {
"type": "object",
"title": "AcceptConsentRequest AcceptConsentRequest The request payload used to accept a consent request.",
"title": "AcceptConsentRequest AcceptConsentRequest AcceptConsentRequest The request payload used to accept a consent request.",
"properties": {
"grant_access_token_audience": {
"description": "GrantedAudience sets the audience the user authorized the client to use. Should be a subset of `requested_access_token_audience`.",
Expand Down Expand Up @@ -2013,7 +2009,7 @@
},
"completedRequest": {
"type": "object",
"title": "CompletedRequest The response payload sent when accepting or rejecting a login or consent request.",
"title": "The response payload sent when accepting or rejecting a login or consent request.",
"properties": {
"redirect_to": {
"description": "RedirectURL is the URL which you should redirect the user to once the authentication process is completed.",
Expand Down Expand Up @@ -2084,7 +2080,7 @@
},
"consentRequestSession": {
"type": "object",
"title": "ConsentRequestSession ConsentRequestSession ConsentRequestSession Used to pass session data to a consent request.",
"title": "Used to pass session data to a consent request.",
"properties": {
"access_token": {
"description": "AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the\nrefresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection.\nIf only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties\ncan access that endpoint as well, sensitive data from the session might be exposed to them. Use with care!",
Expand All @@ -2103,10 +2099,11 @@
}
},
"flushInactiveOAuth2TokensRequest": {
"description": "FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request",
"type": "object",
"properties": {
"notAfter": {
"description": "NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history\nof recently issued tokens for auditing.",
"description": "NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history\nof recently issued tokens for auditing.\nFormat: date-time",
"type": "string",
"format": "date-time"
}
Expand Down Expand Up @@ -2144,7 +2141,7 @@
}
},
"healthNotReadyStatus": {
"description": "HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus health not ready status",
"description": "HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus health not ready status",
"type": "object",
"properties": {
"errors": {
Expand All @@ -2157,6 +2154,7 @@
}
},
"healthStatus": {
"description": "HealthStatus health status",
"type": "object",
"properties": {
"status": {
Expand All @@ -2166,12 +2164,11 @@
}
},
"jsonWebKeySetGeneratorRequest": {
"description": "JSONWebKeySetGeneratorRequest json web key set generator request",
"type": "object",
"required": [
"alg",
"use",
"kid"
"kid",
"use"
],
"properties": {
"alg": {
Expand All @@ -2190,7 +2187,7 @@
},
"loginRequest": {
"type": "object",
"title": "Contains information on an ongoing login request.",
"title": "LoginRequest Contains information on an ongoing login request.",
"properties": {
"challenge": {
"description": "Challenge is the identifier (\"login challenge\") of the login request. It is used to\nidentify the session.",
Expand Down Expand Up @@ -2236,7 +2233,7 @@
},
"logoutRequest": {
"type": "object",
"title": "LogoutRequest Contains information about an ongoing logout request.",
"title": "Contains information about an ongoing logout request.",
"properties": {
"request_url": {
"description": "RequestURL is the original Logout URL requested.",
Expand All @@ -2258,7 +2255,7 @@
},
"oAuth2Client": {
"type": "object",
"title": "Client represents an OAuth 2.0 Client.",
"title": "OAuth2Client Client represents an OAuth 2.0 Client.",
"properties": {
"allowed_cors_origins": {
"description": "AllowedCORSOrigins are one or more URLs (scheme://host[:port]) which are allowed to make CORS requests\nto the /oauth/token endpoint. If this array is empty, the sever's CORS origin configuration (`CORS_ALLOWED_ORIGINS`)\nwill be used instead. If this array is set, the allowed origins are appended to the server's CORS origin configuration.\nBe aware that environment variable `CORS_ENABLED` MUST be set to `true` for this to work.",
Expand Down Expand Up @@ -2311,7 +2308,7 @@
}
},
"created_at": {
"description": "CreatedAt returns the timestamp of the client's creation.",
"description": "CreatedAt returns the timestamp of the client's creation.\nFormat: date-time",
"type": "string",
"format": "date-time"
},
Expand Down Expand Up @@ -2409,7 +2406,7 @@
"type": "string"
},
"updated_at": {
"description": "UpdatedAt returns the timestamp of the last update.",
"description": "UpdatedAt returns the timestamp of the last update.\nFormat: date-time",
"type": "string",
"format": "date-time"
},
Expand All @@ -2422,7 +2419,7 @@
"oAuth2TokenIntrospection": {
"description": "https://tools.ietf.org/html/rfc7662",
"type": "object",
"title": "OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see:",
"title": "OAuth2TokenIntrospection OAuth2TokenIntrospection Introspection contains an access token's session data as specified by IETF RFC 7662, see:",
"required": [
"active"
],
Expand Down Expand Up @@ -2522,7 +2519,7 @@
}
},
"oauthTokenResponse": {
"description": "The token response",
"description": "OauthTokenResponse The token response",
"type": "object",
"properties": {
"access_token": {
Expand Down Expand Up @@ -2556,7 +2553,7 @@
},
"openIDConnectContext": {
"type": "object",
"title": "Contains optional information about the OpenID Connect request.",
"title": "OpenIDConnectContext Contains optional information about the OpenID Connect request.",
"properties": {
"acr_values": {
"description": "ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request.\nIt is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required.\n\nOpenID Connect defines it as follows:\n\u003e Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values\nthat the Authorization Server is being requested to use for processing this Authentication Request, with the\nvalues appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication\nperformed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a\nVoluntary Claim by this parameter.",
Expand Down Expand Up @@ -2591,7 +2588,7 @@
},
"rejectRequest": {
"type": "object",
"title": "RejectRequest RejectRequest RejectRequest The request payload used to accept a login or consent request.",
"title": "The request payload used to accept a login or consent request.",
"properties": {
"error": {
"description": "error",
Expand Down Expand Up @@ -2700,7 +2697,6 @@
}
},
"version": {
"description": "Version Version Version version",
"type": "object",
"properties": {
"version": {
Expand All @@ -2712,7 +2708,7 @@
"wellKnown": {
"description": "It includes links to several endpoints (e.g. /oauth2/token) and exposes information on supported signature algorithms\namong others.",
"type": "object",
"title": "WellKnown WellKnown WellKnown WellKnown represents important OpenID Connect discovery metadata",
"title": "WellKnown WellKnown WellKnown WellKnown WellKnown represents important OpenID Connect discovery metadata",
"required": [
"issuer",
"authorization_endpoint",
Expand Down
2 changes: 1 addition & 1 deletion internal/httpclient/models/accept_consent_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/completed_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/consent_request_session.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/health_not_ready_status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/health_status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/json_web_key_set.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/login_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/logout_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion internal/httpclient/models/o_auth2_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/o_auth2_token_introspection.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/oauth_token_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/open_id_connect_context.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/previous_consent_session.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/reject_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/well_known.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6446c55

Please sign in to comment.