Class AuthorizationCodeOauth2Flows
java.lang.Object
com.mulesoft.connectors.a2a.api.model.card.security.Oauth2Flow
com.mulesoft.connectors.a2a.api.model.card.security.AuthorizationCodeOauth2Flows
@DisplayName("Authorization Code Oauth2 Flows")
public class AuthorizationCodeOauth2Flows
extends Oauth2Flow
Authorization Code OAuth2 flows configuration.
This class represents the authorization code flow type for OAuth2 authentication.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a copy of this OAuth2 flow.booleanCompares this OAuth2 flow with another object for equality.getType()Gets the type of the OAuth2 flow.inthashCode()Generates a hash code for this OAuth2 flow.voidsetAuthorizationUrl(String authorizationUrl) voidsetTokenUrl(String tokenUrl) Methods inherited from class com.mulesoft.connectors.a2a.api.model.card.security.Oauth2Flow
getOauth2Scopes, getRefreshUrl, setOauth2Scopes, setRefreshUrl
-
Constructor Details
-
AuthorizationCodeOauth2Flows
public AuthorizationCodeOauth2Flows()
-
-
Method Details
-
getType
Description copied from class:Oauth2FlowGets the type of the OAuth2 flow.- Specified by:
getTypein classOauth2Flow- Returns:
- The OAuth2 flow type
-
copy
Description copied from class:Oauth2FlowCreates a copy of this OAuth2 flow.- Specified by:
copyin classOauth2Flow- Returns:
- A new instance with the same values as this one
-
getAuthorizationUrl
-
setAuthorizationUrl
-
getTokenUrl
-
setTokenUrl
-
equals
Description copied from class:Oauth2FlowCompares this OAuth2 flow with another object for equality.- Overrides:
equalsin classOauth2Flow- Parameters:
object- The object to compare with- Returns:
- true if the objects are equal, false otherwise
-
hashCode
public int hashCode()Description copied from class:Oauth2FlowGenerates a hash code for this OAuth2 flow.- Overrides:
hashCodein classOauth2Flow- Returns:
- A hash code value for this object
-