-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for OIDC Proof Of Key for Code Exchange (PKCE)
- Loading branch information
1 parent
067533c
commit 99fde66
Showing
11 changed files
with
345 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...sions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/CodeAuthenticationStateBean.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package io.quarkus.oidc.runtime; | ||
|
||
public class CodeAuthenticationStateBean { | ||
|
||
private String restorePath; | ||
|
||
private String codeVerifier; | ||
|
||
public String getRestorePath() { | ||
return restorePath; | ||
} | ||
|
||
public void setRestorePath(String restorePath) { | ||
this.restorePath = restorePath; | ||
} | ||
|
||
public String getCodeVerifier() { | ||
return codeVerifier; | ||
} | ||
|
||
public void setCodeVerifier(String codeVerifier) { | ||
this.codeVerifier = codeVerifier; | ||
} | ||
|
||
public boolean isEmpty() { | ||
return this.restorePath == null && this.codeVerifier == null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.