All Superinterfaces:
io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered
All Known Implementing Classes:
PlainPkceGenerator, S256PkceGenerator

public interface PkceGenerator extends io.micronaut.core.order.Ordered, io.micronaut.core.naming.Named
Since:
3.9.0
Author:
Sergio del Amo
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Pkce
     
    @io.micronaut.core.annotation.NonNull boolean
    supportsAny(@NonNull List<String> codeChallengeMethods)
     

    Methods inherited from interface io.micronaut.core.naming.Named

    getName

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder
  • Method Details

    • supportsAny

      @NonNull @io.micronaut.core.annotation.NonNull boolean supportsAny(@NonNull @NonNull List<String> codeChallengeMethods)
      Parameters:
      codeChallengeMethods - Code Challenge methods
      Returns:
      Whether the PKCE Generator supports any of the supplied code challenge methods.
    • generate

      @NonNull @NonNull Pkce generate()
      Returns:
      Generates a Pkce.