- java.lang.Object
-
- com.github.alexdlaird.ngrok.protocol.TunnelOAuth
-
public class TunnelOAuth extends java.lang.Object
An object that represents the OAuth configuration for aCreateTunnel
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TunnelOAuth.Builder
Builder for OAuth configuration that conforms tongrok
's tunnel definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getAllowDomains()
Get the list of OAuth allowed domains.java.util.List<java.lang.String>
getAllowEmails()
Get the list of OAuth allowed emails.java.lang.String
getProvider()
Get the OAuth provider.java.util.List<java.lang.String>
getScopes()
Get the list of OAuth scopes.
-
-
-
Method Detail
-
getProvider
public java.lang.String getProvider()
Get the OAuth provider.
-
getScopes
public java.util.List<java.lang.String> getScopes()
Get the list of OAuth scopes.
-
getAllowEmails
public java.util.List<java.lang.String> getAllowEmails()
Get the list of OAuth allowed emails.
-
getAllowDomains
public java.util.List<java.lang.String> getAllowDomains()
Get the list of OAuth allowed domains.
-
-