Interface ServicePrincipal.DefinitionStages.WithApplication
- All Known Subinterfaces:
ServicePrincipal.Definition
,ServicePrincipal.DefinitionStages.Blank
- Enclosing interface:
- ServicePrincipal.DefinitionStages
public static interface ServicePrincipal.DefinitionStages.WithApplication
A service principal definition allowing application to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingApplication
(ActiveDirectoryApplication application) Specifies an existing application to use by the service principal.Specifies an existing application by its app ID.withNewApplication
(Creatable<ActiveDirectoryApplication> applicationCreatable) Specifies a new application to create and use by the service principal.withNewApplication
(String signOnUrl) Specifies a new application to create and use by the service principal.
-
Method Details
-
withExistingApplication
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
-
withExistingApplication
ServicePrincipal.DefinitionStages.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
-
withNewApplication
ServicePrincipal.DefinitionStages.WithCreate withNewApplication(Creatable<ActiveDirectoryApplication> 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
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
-