Package com.ngrok.definitions
Class EndpointOAuthProvider.Builder
java.lang.Object
com.ngrok.definitions.EndpointOAuthProvider.Builder
- Enclosing class:
- EndpointOAuthProvider
Builder class for
EndpointOAuthProvider.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constructs theEndpointOAuthProviderinstance.facebook(EndpointOAuthFacebook facebook) configuration for using facebook as the identity providerfacebook(Optional<EndpointOAuthFacebook> facebook) configuration for using facebook as the identity providergithub(EndpointOAuthGitHub github) configuration for using github as the identity providergithub(Optional<EndpointOAuthGitHub> github) configuration for using github as the identity providergoogle(EndpointOAuthGoogle google) configuration for using google as the identity providergoogle(Optional<EndpointOAuthGoogle> google) configuration for using google as the identity providermicrosoft(EndpointOAuthMicrosoft microsoft) configuration for using microsoft as the identity providermicrosoft(Optional<EndpointOAuthMicrosoft> microsoft) configuration for using microsoft as the identity provider
-
Method Details
-
github
configuration for using github as the identity provider- Parameters:
github- the value of thegithubparameter as aEndpointOAuthGitHub- Returns:
- this builder instance
-
github
configuration for using github as the identity provider- Parameters:
github- the value of thegithubparameter as aEndpointOAuthGitHub, wrapped in anOptional- Returns:
- this builder instance
-
facebook
configuration for using facebook as the identity provider- Parameters:
facebook- the value of thefacebookparameter as aEndpointOAuthFacebook- Returns:
- this builder instance
-
facebook
configuration for using facebook as the identity provider- Parameters:
facebook- the value of thefacebookparameter as aEndpointOAuthFacebook, wrapped in anOptional- Returns:
- this builder instance
-
microsoft
configuration for using microsoft as the identity provider- Parameters:
microsoft- the value of themicrosoftparameter as aEndpointOAuthMicrosoft- Returns:
- this builder instance
-
microsoft
configuration for using microsoft as the identity provider- Parameters:
microsoft- the value of themicrosoftparameter as aEndpointOAuthMicrosoft, wrapped in anOptional- Returns:
- this builder instance
-
google
configuration for using google as the identity provider- Parameters:
google- the value of thegoogleparameter as aEndpointOAuthGoogle- Returns:
- this builder instance
-
google
configuration for using google as the identity provider- Parameters:
google- the value of thegoogleparameter as aEndpointOAuthGoogle, wrapped in anOptional- Returns:
- this builder instance
-
build
Constructs theEndpointOAuthProviderinstance.- Returns:
- a new
EndpointOAuthProvider
-