Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify method for JWTVerifier #105

Open
TheHmmka opened this issue Feb 15, 2022 · 2 comments
Open

Verify method for JWTVerifier #105

TheHmmka opened this issue Feb 15, 2022 · 2 comments

Comments

@TheHmmka
Copy link

Can you open this method please:

func verify(jwt: String) -> Bool {
return verifierAlgorithm.verify(jwt: jwt)
}

@adozenlines
Copy link

adozenlines commented Mar 9, 2022

The reason for the protocol method is due to you having to implement your own verification algorithm, they are many more verification algorithms out there you can reference based on the encryption scheme. So there is nothing to make open.

@TheHmmka
Copy link
Author

TheHmmka commented Mar 9, 2022

The reason for the protocol method is due to you having to implement your own verification algorithm, they are many more verification algorithms out there you can reference based on the encryption scheme. So there is nothing to make open.

But what if I want to use exist algorithm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants