java.lang.Object
com.mulesoft.connectors.a2a.api.model.card.security.Oauth2Flows

@DisplayName("OAuth2 Flows") public class Oauth2Flows extends Object
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 Details

    • Oauth2Flows

      public Oauth2Flows()
  • Method Details

    • copy

      public Oauth2Flows copy()
      Creates a copy of this OAuth2Flows.
      Returns:
      A new OAuth2Flows instance with the same values as this one
    • getImplicit

      public ImplicitOauth2Flows getImplicit()
    • setImplicit

      public void setImplicit(ImplicitOauth2Flows implicit)
    • getPassword

      public PasswordOauth2Flows getPassword()
    • setPassword

      public void setPassword(PasswordOauth2Flows password)
    • getClientCredentials

      public ClientCredentialsOauth2Flows getClientCredentials()
    • setClientCredentials

      public void setClientCredentials(ClientCredentialsOauth2Flows clientCredentials)
    • getAuthorizationCode

      public AuthorizationCodeOauth2Flows getAuthorizationCode()
    • setAuthorizationCode

      public void setAuthorizationCode(AuthorizationCodeOauth2Flows authorizationCode)
    • equals

      public boolean equals(Object object)
      Compares this OAuth2Flows with another object for equality.
      Overrides:
      equals in class Object
      Parameters:
      object - The object to compare with
      Returns:
      true if the objects are equal, false otherwise
    • hashCode

      public int hashCode()
      Generates a hash code for this OAuth2Flows.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this object