Skip to content

Commit cc166cc

Browse files
committed
add TokenValidatable interface
1 parent f6c9c6f commit cc166cc

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
package com.microsoft.graph.core.models;
2+
3+
import java.util.List;
4+
5+
/**
6+
* TokenValidatable interface
7+
*/
8+
public interface TokenValidatable<U extends DecryptableContent, T extends EncryptedContentBearer<U>> {
9+
10+
/**
11+
* Sets collection of validation tokens
12+
* @param validationTokens tokens
13+
*/
14+
public void setValidationTokens(List<String> validationTokens);
15+
16+
/**
17+
* Returns validation tokens
18+
* @return list of tokens
19+
*/
20+
public List<String> getValidationTokens();
21+
22+
/**
23+
* Sets collection of encrypted token bearers
24+
* @param value collection of encrypted token bearers
25+
*/
26+
public void setValue(List<T> value);
27+
28+
/**
29+
* Get collection of encrypted token bearers
30+
* @return encrypted token bearers
31+
*/
32+
public List<T> getValue();
33+
34+
}

0 commit comments

Comments
 (0)