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 theEndpointOAuthProvider
instance.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 thegithub
parameter as aEndpointOAuthGitHub
- Returns:
- this builder instance
-
github
configuration for using github as the identity provider- Parameters:
github
- the value of thegithub
parameter as aEndpointOAuthGitHub
, wrapped in anOptional
- Returns:
- this builder instance
-
facebook
configuration for using facebook as the identity provider- Parameters:
facebook
- the value of thefacebook
parameter as aEndpointOAuthFacebook
- Returns:
- this builder instance
-
facebook
configuration for using facebook as the identity provider- Parameters:
facebook
- the value of thefacebook
parameter as aEndpointOAuthFacebook
, wrapped in anOptional
- Returns:
- this builder instance
-
microsoft
configuration for using microsoft as the identity provider- Parameters:
microsoft
- the value of themicrosoft
parameter as aEndpointOAuthMicrosoft
- Returns:
- this builder instance
-
microsoft
configuration for using microsoft as the identity provider- Parameters:
microsoft
- the value of themicrosoft
parameter as aEndpointOAuthMicrosoft
, wrapped in anOptional
- Returns:
- this builder instance
-
google
configuration for using google as the identity provider- Parameters:
google
- the value of thegoogle
parameter as aEndpointOAuthGoogle
- Returns:
- this builder instance
-
google
configuration for using google as the identity provider- Parameters:
google
- the value of thegoogle
parameter as aEndpointOAuthGoogle
, wrapped in anOptional
- Returns:
- this builder instance
-
build
Constructs theEndpointOAuthProvider
instance.- Returns:
- a new
EndpointOAuthProvider
-