View Source AshAuthentication.Strategy.Oidc.NonceGenerator (ash_authentication v4.0.0)

An implmentation of AshAuthentication.Secret that generates nonces for OpenID Connect strategies.

Defaults to 16 bytes of random data. You can change this by setting the byte_size option in your DSL:

oidc do
  nonce {AshAuthentication.NonceGenerator, byte_size: 32}
  # ...
end