Skip to content

JWSHeader: 'set' is inaccessible due to 'internal' protection level #405

@piotrczurak

Description

@piotrczurak

JWSHeader is declared public, but it implements an internal JOSEHeader protocol. set is declared as a public method in JOSEHeader extension, but ultimately it is unavailable outside the project, being restricted by JOSEHeader internal access level.
Tests pass because @Testable effectively makes turns internal into public.

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