Class SocialConfiguration.AppleConfiguration

java.lang.Object
com.irurueta.authserver.authorization.api.web.social.SocialConfiguration.AppleConfiguration
Enclosing class:
SocialConfiguration

@Configuration(value="socialAppleConfiguration", proxyBeanMethods=false) @Conditional(AppleProviderCondition.class) static class SocialConfiguration.AppleConfiguration extends Object
Declares the generator of the Apple client secret, only while Apple is configured.
  • Constructor Details

    • AppleConfiguration

      AppleConfiguration()
  • Method Details

    • appleClientSecretGenerator

      @Bean public AppleClientSecretGenerator appleClientSecretGenerator(SocialProperties properties, ApplePrivateKeyParser parser, Clock clock)
      Declares the generator, whose key is read (and refused at startup when it is not an ES256 key) once.
      Parameters:
      properties - settings of the providers.
      parser - reads the private key.
      clock - source of the current time.
      Returns:
      the generator.