Class OpenIdConnectSecurityScheme
java.lang.Object
com.mulesoft.connectors.a2a.api.model.card.SecurityScheme
com.mulesoft.connectors.a2a.api.model.card.security.OpenIdConnectSecurityScheme
@DisplayName("OpenId Connect Security Scheme")
public class OpenIdConnectSecurityScheme
extends SecurityScheme
Represents an OpenID Connect security scheme following OpenAPI 3.0 specification.
OpenID Connect is an identity layer on top of the OAuth 2.0 protocol. It allows clients to verify the identity of the end-user
based on the authentication performed by an authorization server, as well as to obtain basic profile information about the
end-user in an interoperable and REST-like manner.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a copy of this OpenIdConnectSecurityScheme.booleanCompares this OpenIdConnectSecurityScheme with another object for equality.getType()Gets the type of the security scheme.inthashCode()Generates a hash code for this OpenIdConnectSecurityScheme.voidsetOpenIdConnectUrl(String openIdConnectUrl) Methods inherited from class com.mulesoft.connectors.a2a.api.model.card.SecurityScheme
getDescription, getSecuritySchemeName, setDescription, setSecuritySchemeName
-
Constructor Details
-
OpenIdConnectSecurityScheme
public OpenIdConnectSecurityScheme()
-
-
Method Details
-
copy
Creates a copy of this OpenIdConnectSecurityScheme.- Specified by:
copyin classSecurityScheme- Returns:
- A new OpenIdConnectSecurityScheme instance with the same values as this one
-
getType
Description copied from class:SecuritySchemeGets the type of the security scheme.- Specified by:
getTypein classSecurityScheme- Returns:
- The security scheme type (e.g., "http", "apiKey")
-
getOpenIdConnectUrl
-
setOpenIdConnectUrl
-
equals
Compares this OpenIdConnectSecurityScheme with another object for equality.- Overrides:
equalsin classSecurityScheme- 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 OpenIdConnectSecurityScheme.- Overrides:
hashCodein classSecurityScheme- Returns:
- A hash code value for this object
-