All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.apicurio.datamodels.asyncapi.v2.models.Aai20OAuthFlows Maven / Gradle / Ivy

There is a newer version: 3.5.0.Final
Show newest version
package io.apicurio.datamodels.asyncapi.v2.models;

import io.apicurio.datamodels.asyncapi.models.AaiOAuthFlows;
import io.apicurio.datamodels.core.models.Node;
import io.apicurio.datamodels.core.models.common.AuthorizationCodeOAuthFlow;
import io.apicurio.datamodels.core.models.common.ClientCredentialsOAuthFlow;
import io.apicurio.datamodels.core.models.common.ImplicitOAuthFlow;
import io.apicurio.datamodels.core.models.common.PasswordOAuthFlow;

/**
 * @author Jakub Senko
 */
public class Aai20OAuthFlows extends AaiOAuthFlows {
    
    /**
     * Constructor.
     */
    public Aai20OAuthFlows() {
    }

    public Aai20OAuthFlows(Node parent) {
        super(parent);
    }

    @Override
    public ImplicitOAuthFlow createImplicitOAuthFlow() {
        return new Aai20ImplicitOAuthFlow(this);
    }

    @Override
    public PasswordOAuthFlow createPasswordOAuthFlow() {
        return new Aai20PasswordOAuthFlow(this);
    }

    @Override
    public ClientCredentialsOAuthFlow createClientCredentialsOAuthFlow() {
        return new Aai20ClientCredentialsOAuthFlow(this);
    }

    @Override
    public AuthorizationCodeOAuthFlow createAuthorizationCodeOAuthFlow() {
        return new Aai20AuthorizationCodeOAuthFlow(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy