Justin Richer
13 years ago
6 changed files with 23 additions and 3 deletions
@ -1 +1 @@
|
||||
Subproject commit b3dbc687b2922a78cb3879ca16c0ce1bc9a4f657 |
||||
Subproject commit f1f301046b6c6f397bc4d40a25dd407ca6f2b757 |
@ -1 +1 @@
|
||||
Subproject commit 674ebf1fa71f4886216c01d731c6acdcd4e37d72 |
||||
Subproject commit 5784e6bf534e65627d4efb94be90ab7ba4df9069 |
@ -1,11 +1,19 @@
|
||||
package org.mitre.openid.connect.repository; |
||||
|
||||
import java.util.Collection; |
||||
import java.util.Collections; |
||||
|
||||
import org.mitre.openid.connect.model.ApprovedSite; |
||||
import org.mitre.openid.connect.model.UserInfo; |
||||
|
||||
public interface ApprovedSiteRepository { |
||||
|
||||
public ApprovedSite getById(Long id); |
||||
|
||||
public ApprovedSite getByUrl(String url); |
||||
public Collection<ApprovedSite> getAllForUser(UserInfo user); |
||||
|
||||
public Collection<ApprovedSite> getAllExpired(); |
||||
|
||||
public ApprovedSite save(ApprovedSite site); |
||||
|
||||
} |
||||
|
@ -1,5 +1,11 @@
|
||||
package org.mitre.openid.connect.repository; |
||||
|
||||
import org.mitre.openid.connect.model.IdToken; |
||||
|
||||
public interface IdTokenRepository { |
||||
|
||||
public IdToken getById(Long id); |
||||
|
||||
public IdToken save(IdToken idToken); |
||||
|
||||
} |
||||
|
Loading…
Reference in new issue