Skip to content

Commit 7d5294e

Browse files
committed
Added two new auth interfaces
1 parent 815353a commit 7d5294e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package io.scalecube.services.auth;
2+
3+
import java.util.Map;
4+
import reactor.core.publisher.Mono;
5+
6+
public interface CredentialsSupplier {
7+
8+
Mono<Map<String, String>> credentials(Map<String, String> tags);
9+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package io.scalecube.services.auth;
2+
3+
public interface CredentialsSuppliers {
4+
5+
CredentialsSupplier forServiceRole(String serviceRole);
6+
}

0 commit comments

Comments
 (0)