Skip to content

Why we need ReaderWriterLockSlim in OpenIdConnectCachingSecurityTokenProvider? #124

Open
@LeTranAnhVu

Description

@LeTranAnhVu

The class OpenIdConnectCachingSecurityTokenProvider uses read/write lock of ReaderWriterLockSlim before get issuer and keys. I am wondering, why we need to use lock here? and what happen if we don't?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions