Class RbacTokenProvider
- java.lang.Object
-
- cern.nxcals.api.extraction.metadata.security.RbacTokenProvider
-
- All Implemented Interfaces:
AuthTokenProvider
,java.util.function.Function<feign.Request,java.util.Optional<java.lang.String>>
public class RbacTokenProvider extends java.lang.Object implements AuthTokenProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RbacTokenProvider.RbacTokenProviderBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
apply(feign.Request request)
static RbacTokenProvider.RbacTokenProviderBuilder
builder()
java.lang.String
toString()
-
-
-
Method Detail
-
apply
public java.util.Optional<java.lang.String> apply(feign.Request request)
- Specified by:
apply
in interfacejava.util.function.Function<feign.Request,java.util.Optional<java.lang.String>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static RbacTokenProvider.RbacTokenProviderBuilder builder()
-
-