PHP OIDC Client
  • PHP Oidc-Client
    • Introduction
    • Requirements
    • Supported functionnality
    • How to install
  • How to use the library
    • Generic use of the library
    • Microsoft Azure OIDC
    • Google
    • Github
    • Dropbox
  • Deal with the provider
    • Authorization flow
    • Token endpoint
    • Tokens managment
    • UserInfo
    • Logout
  • Advanced Topic
    • Secure the session
    • Request options
    • Nested JWT
    • UserInfo response encrypted (JWE)
  • Utils
    • LogLevel
    • Generate a key pair
    • Generate an UUID
    • Generate a security key
    • Get informations of a certificate
    • Verify if json
  • Links / Credits
    • Repo
    • OIDC specs
    • JWT Framework
    • Guzzle
Powered by GitBook
On this page
  1. Utils

LogLevel

You may need to debug you project. You can do it by define the LogLevel

Svgta\OidcClient\init::setLogLevel(LOG_DEBUG);

The parameter is an PHP constant in this list :

  • LOG_EMERG

  • LOG_ALERT

  • LOG_CRIT

  • LOG_ERR

  • LOG_WARNING

  • LOG_NOTICE

  • LOG_INFO

  • LOG_DEBUG

PreviousUserInfo response encrypted (JWE)NextGenerate a key pair

Last updated 1 year ago