Interface WebAppAuthentication.DefinitionStages.WithAuthenticationProvider<ParentT>

    • Method Detail

      • withActiveDirectory

        WebAppAuthentication.DefinitionStages.WithAttach<ParentT> withActiveDirectory​(String clientId,
                                                                                      String issuerUrl)
        Specifies the provider to be Active Directory and its client ID and issuer URL.
        Parameters:
        clientId - the AAD app's client ID
        issuerUrl - the token issuer URL in the format of https://sts.windows.net/(tenantId)
        Returns:
        the next stage of the definition
      • withGoogle

        WebAppAuthentication.DefinitionStages.WithAttach<ParentT> withGoogle​(String clientId,
                                                                             String clientSecret)
        Specifies the provider to be Google and its client ID and client secret.
        Parameters:
        clientId - the Google app's client ID
        clientSecret - the Google app's client secret
        Returns:
        the next stage of the definition
      • withMicrosoft

        WebAppAuthentication.DefinitionStages.WithAttach<ParentT> withMicrosoft​(String clientId,
                                                                                String clientSecret)
        Specifies the provider to be Microsoft and its client ID and client secret.
        Parameters:
        clientId - the Microsoft app's client ID
        clientSecret - the Microsoft app's client secret
        Returns:
        the next stage of the definition