Skip to content

Commit c257135

Browse files
committed
Update /info endpoint documentation with providers
1 parent d66cb49 commit c257135

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

uaa/src/test/java/org/cloudfoundry/identity/uaa/login/LoginInfoEndpointDocs.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ void info_endpoint_for_json() throws Exception {
7373
fieldWithPath("prompts.password").type(ARRAY).description("Information about the password prompt."),
7474
fieldWithPath("prompts.passcode").optional().type(ARRAY).description("If a SAML identity provider is configured, this prompt contains a URL to where the user can initiate the SAML authentication flow."),
7575
fieldWithPath("zone_name").type(STRING).description("The name of the zone invoked"),
76-
fieldWithPath("showLoginLinks").optional(false).type(BOOLEAN).description("Set to true if there are SAML or OAUTH/OIDC providers with a visible link on the login page.")
76+
fieldWithPath("showLoginLinks").optional(false).type(BOOLEAN).description("Set to true if there are SAML or OAUTH/OIDC providers with a visible link on the login page."),
77+
fieldWithPath("providers").optional().type(ARRAY).description("A list of identity providers that are active in this zone"),
78+
fieldWithPath("providers[].name").optional().type(STRING).description("The human readable name of the identity provider"),
79+
fieldWithPath("providers[].origin").optional().type(STRING).description("The origin key of the identity provider"),
80+
fieldWithPath("providers[].type").optional().type(STRING).description("The type (SAML, LDAP, OIDC, OAUTH2, etc) of identity provider")
7781
);
7882

7983
Snippet requestHeaders = requestHeaders(

0 commit comments

Comments
 (0)