public class org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow extends java.lang.Object implements org.finos.legend.engine.authentication.DatabaseAuthenticationFlow
{
public void <init>()
{
org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow v;
v := @this: org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public java.lang.Class getDatasourceClass()
{
org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow v;
v := @this: org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow;
return class "Lorg/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/relational/connection/specification/BigQueryDatasourceSpecification;";
}
public java.lang.Class getAuthenticationStrategyClass()
{
org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow v;
v := @this: org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow;
return class "Lorg/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/relational/connection/authentication/GCPApplicationDefaultCredentialsAuthenticationStrategy;";
}
public org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.DatabaseType getDatabaseType()
{
org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow v;
org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.DatabaseType v;
v := @this: org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow;
v = <org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.DatabaseType: org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.DatabaseType BigQuery>;
return v;
}
public org.finos.legend.engine.shared.core.identity.Credential makeCredential(org.finos.legend.engine.shared.core.identity.Identity, org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.specification.BigQueryDatasourceSpecification, org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.authentication.GCPApplicationDefaultCredentialsAuthenticationStrategy) throws java.lang.Exception
{
org.finos.legend.engine.shared.core.identity.Identity v;
org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow v;
org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.authentication.GCPApplicationDefaultCredentialsAuthenticationStrategy v;
org.finos.legend.engine.shared.core.identity.credential.GCPApplicationDefaultCredential v;
org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.specification.BigQueryDatasourceSpecification v;
v := @this: org.finos.legend.engine.authentication.flows.BigQueryWithGCPApplicationDefaultCredentialsFlow;
v := @parameter: org.finos.legend.engine.shared.core.identity.Identity;
v := @parameter: org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.specification.BigQueryDatasourceSpecification;
v := @parameter: org.finos.legend.engine.protocol.pure.v.model.packageableElement.store.relational.connection.authentication.GCPApplicationDefaultCredentialsAuthenticationStrategy;
v = new org.finos.legend.engine.shared.core.identity.credential.GCPApplicationDefaultCredential;
specialinvoke v.<org.finos.legend.engine.shared.core.identity.credential.GCPApplicationDefaultCredential: void <init>()>();
return v;
}
}