GitHubIdpConfigFromPasswords constructor

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

Creates a new GitHubIdpConfigFromPasswords instance.

Implementation

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