ServicePrincipal.DefinitionStages.WithApplication Interface

public interface WithApplication

A service principal definition allowing application to be specified.

Method Summary

Modifier and Type Method and Description
ServicePrincipal.DefinitionStages.WithCreate withExistingApplication(ActiveDirectoryApplication application)

Specifies an existing application to use by the service principal.

ServicePrincipal.DefinitionStages.WithCreate withExistingApplication(String id)

Specifies an existing application by its app ID.

ServicePrincipal.DefinitionStages.WithCreate withNewApplication(Creatable<ActiveDirectoryApplication> applicationCreatable)

Specifies a new application to create and use by the service principal.

ServicePrincipal.DefinitionStages.WithCreate withNewApplication(String signOnUrl)

Specifies a new application to create and use by the service principal.

Method Details

withExistingApplication

public WithCreate withExistingApplication(ActiveDirectoryApplication application)

Specifies an existing application to use by the service principal.

Parameters:

application - the application

Returns:

the next stage of the service principal definition

withExistingApplication

public WithCreate withExistingApplication(String id)

Specifies an existing application by its app ID.

Parameters:

id - the app ID of the application

Returns:

the next stage of the service principal definition

withNewApplication

public WithCreate withNewApplication(Creatable applicationCreatable)

Specifies a new application to create and use by the service principal.

Parameters:

applicationCreatable - the new application's creatable

Returns:

the next stage of the service principal definition

withNewApplication

public WithCreate withNewApplication(String signOnUrl)

Specifies a new application to create and use by the service principal.

Parameters:

signOnUrl - the new application's sign on URL

Returns:

the next stage of the service principal definition

Applies to