Package com.atlassian.crowd.util
Class OAuth2Utils
java.lang.Object
com.atlassian.crowd.util.OAuth2Utils
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<OAuth2Utils.AuthenticationMethod> getIncomingClients(com.atlassian.oauth2.provider.api.client.ClientService clientService, ServiceAccountAuthService serviceAccountAuthService) static List<OAuth2Utils.AuthenticationMethod> getOutgoingClients(com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService clientConfigStorageService) static List<OAuth2Utils.AuthenticationMethod> getOutgoingClients3LOOnly(com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService clientConfigStorageService) This method filters OAuth2 configurations to only include those that support 3LO flows.
-
Field Details
-
OAUTH_2_0
- See Also:
-
-
Constructor Details
-
OAuth2Utils
public OAuth2Utils()
-
-
Method Details
-
getOutgoingClients
public static List<OAuth2Utils.AuthenticationMethod> getOutgoingClients(com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService clientConfigStorageService) -
getOutgoingClients3LOOnly
public static List<OAuth2Utils.AuthenticationMethod> getOutgoingClients3LOOnly(com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService clientConfigStorageService) This method filters OAuth2 configurations to only include those that support 3LO flows. This is done by checking for the presence of an authorization endpoint (which is required for 3LO but not for 2LO flows). -
getIncomingClients
public static List<OAuth2Utils.AuthenticationMethod> getIncomingClients(com.atlassian.oauth2.provider.api.client.ClientService clientService, ServiceAccountAuthService serviceAccountAuthService)
-