napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Auth.Utils

Synopsis

Documentation

oAuthChallenge :: IO ByteString #

Generates a random valid string

eitherRNG #

Arguments

:: Int

number of bytes for the generated bytestring

-> IO ByteString 

Gets some random data. The intent is to create a valid encrypted string, used by google oauth backend.