public final class GitHub extends Object
| Constructor and Description |
|---|
GitHub() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: <code>false</code> if the GitHub provider should not be enabled despite the
set registration; otherwise, <code>true</code>.
|
LoginScopes |
login()
Get the login property: The configuration settings of the login flow.
|
ClientRegistration |
registration()
Get the registration property: The configuration settings of the app registration for the GitHub provider.
|
void |
validate()
Validates the instance.
|
GitHub |
withEnabled(Boolean enabled)
Set the enabled property: <code>false</code> if the GitHub provider should not be enabled despite the
set registration; otherwise, <code>true</code>.
|
GitHub |
withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.
|
GitHub |
withRegistration(ClientRegistration registration)
Set the registration property: The configuration settings of the app registration for the GitHub provider.
|
public Boolean enabled()
public GitHub withEnabled(Boolean enabled)
enabled - the enabled value to set.public ClientRegistration registration()
public GitHub withRegistration(ClientRegistration registration)
registration - the registration value to set.public LoginScopes login()
public GitHub withLogin(LoginScopes login)
login - the login value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.