auth0 / auth0-oidc-client-net

OIDC Client for .NET Desktop and Mobile applications
https://auth0.github.io/auth0-oidc-client-net/
Apache License 2.0
84 stars 49 forks source link

[SDK-3651] Expose OidcClient LoggerFactory #233

Closed frederikprijck closed 1 year ago

frederikprijck commented 1 year ago

Changes

Creates a LoggerFactory with a default value set to new LoggerFactory(), but enabling the developer to provide their own.

This LoggerFactory is then passed to OidcClientOptions when constructing the underlying OidcClient, allowing the developers to be notified on any logs happening inside the OidcClient package.

References

Closes #223

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Checklist