Skip to content

Make func base64urlEncodedString() public? #74

@markm77

Description

@markm77

When conforming to Claims protocol, it's quite useful to define encode(). In the default implementation of encode() (https://github.com/IBM-Swift/Swift-JWT/blob/master/Sources/SwiftJWT/Claims.swift#L78-L83), a custom Base-64 decoder is called via base64urlEncodedString() but this is not public so inaccessible for user implementations of encode().

If this custom implementation of Base-64 encoding is useful generally, should it be public so user implementations of encode can use it?

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