Class OAuth2AuthorizationProcess
java.lang.Object
com.atlassian.crowd.pageobjects.oauth2.OAuth2AuthorizationProcess
- Direct Known Subclasses:
GoogleOAuth2Process
,MicrosoftOAuth2Process
,OAuth2AuthorizationProcess.NoopOAuth2Process
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
OAuth2AuthorizationProcess
(com.atlassian.pageobjects.PageBinder pageBinder) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
void
authorizeAndAllowPermissions
(String username, String password) static Function<com.atlassian.pageobjects.PageBinder,
OAuth2AuthorizationProcess> forProvider
(com.atlassian.oauth2.client.api.storage.config.ProviderType provider) abstract void
-
Field Details
-
pageBinder
protected com.atlassian.pageobjects.PageBinder pageBinder
-
-
Constructor Details
-
OAuth2AuthorizationProcess
protected OAuth2AuthorizationProcess(com.atlassian.pageobjects.PageBinder pageBinder)
-
-
Method Details
-
authorizeAndAllowPermissions
-
login
-
allowPermissions
public abstract void allowPermissions() -
forProvider
public static Function<com.atlassian.pageobjects.PageBinder,OAuth2AuthorizationProcess> forProvider(com.atlassian.oauth2.client.api.storage.config.ProviderType provider)
-