Package com.ngrok.definitions
Class EndpointOAuthProvider
java.lang.Object
com.ngrok.definitions.EndpointOAuthProvider
A class encapsulating the
EndpointOAuthProvider
resource.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configuration for using facebook as the identity providerconfiguration for using github as the identity providerconfiguration for using google as the identity providerconfiguration for using microsoft as the identity providerint
hashCode()
Creates a new builder for theEndpointOAuthProvider
type.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointOAuthProvider
type.- Returns:
- a new
EndpointOAuthProvider.Builder
-
getGithub
configuration for using github as the identity provider- Returns:
- the value of the property as a
EndpointOAuthGitHub
wrapped in anOptional
-
getFacebook
configuration for using facebook as the identity provider- Returns:
- the value of the property as a
EndpointOAuthFacebook
wrapped in anOptional
-
getMicrosoft
configuration for using microsoft as the identity provider- Returns:
- the value of the property as a
EndpointOAuthMicrosoft
wrapped in anOptional
-
getGoogle
configuration for using google as the identity provider- Returns:
- the value of the property as a
EndpointOAuthGoogle
wrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-