Package com.ngrok.definitions
Class EndpointOAuthProvider
java.lang.Object
com.ngrok.definitions.EndpointOAuthProvider
A class encapsulating the
EndpointOAuthProvider resource.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfiguration 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 providerinthashCode()Creates a new builder for theEndpointOAuthProvidertype.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointOAuthProvidertype.- Returns:
- a new
EndpointOAuthProvider.Builder
-
getGithub
configuration for using github as the identity provider- Returns:
- the value of the property as a
EndpointOAuthGitHubwrapped in anOptional
-
getFacebook
configuration for using facebook as the identity provider- Returns:
- the value of the property as a
EndpointOAuthFacebookwrapped in anOptional
-
getMicrosoft
configuration for using microsoft as the identity provider- Returns:
- the value of the property as a
EndpointOAuthMicrosoftwrapped in anOptional
-
getGoogle
configuration for using google as the identity provider- Returns:
- the value of the property as a
EndpointOAuthGooglewrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-