GitHubIdpConfigFromPasswords constructor

GitHubIdpConfigFromPasswords({
  1. GitHubAccountDetailsValidation githubAccountDetailsValidation = validateGitHubAccountDetails,
  2. GetExtraGitHubInfoCallback? getExtraGitHubInfoCallback,
  3. AfterGitHubAccountCreatedFunction? onAfterGitHubAccountCreated,
})

Creates a new GitHubIdpConfigFromPasswords instance.

Implementation

GitHubIdpConfigFromPasswords({
  super.githubAccountDetailsValidation,
  super.getExtraGitHubInfoCallback,
  super.onAfterGitHubAccountCreated,
}) : super(
       clientId: Serverpod.instance.getPasswordOrThrow('githubClientId'),
       clientSecret: Serverpod.instance.getPasswordOrThrow(
         'githubClientSecret',
       ),
     );