Class Oauth2Flows
java.lang.Object
com.mulesoft.connectors.a2a.api.model.card.security.Oauth2Flows
OAuth2 flows configuration containing multiple flow types.
This class represents all possible OAuth2 flow types that can be configured for a single OAuth2 security scheme. Each flow type
is optional and can be configured independently.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a copy of this OAuth2Flows.booleanCompares this OAuth2Flows with another object for equality.inthashCode()Generates a hash code for this OAuth2Flows.voidsetAuthorizationCode(AuthorizationCodeOauth2Flows authorizationCode) voidsetClientCredentials(ClientCredentialsOauth2Flows clientCredentials) voidsetImplicit(ImplicitOauth2Flows implicit) voidsetPassword(PasswordOauth2Flows password)
-
Constructor Details
-
Oauth2Flows
public Oauth2Flows()
-
-
Method Details
-
copy
Creates a copy of this OAuth2Flows.- Returns:
- A new OAuth2Flows instance with the same values as this one
-
getImplicit
-
setImplicit
-
getPassword
-
setPassword
-
getClientCredentials
-
setClientCredentials
-
getAuthorizationCode
-
setAuthorizationCode
-
equals
Compares this OAuth2Flows with another object for equality. -
hashCode
public int hashCode()Generates a hash code for this OAuth2Flows.
-