- All Superinterfaces:
IuPrincipalIdentity
,Principal
- All Known Subinterfaces:
IuBasicAuthCredentials
Principal
implementation for an HTTP-authenticated user or client
application.-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(HttpRequest.Builder httpRequestBuilder) Applies the client's API credentials to an HTTP request.Methods inherited from interface edu.iu.auth.IuPrincipalIdentity
getAuthTime, getExpires, getIssuedAt, getSubject, implies
-
Method Details
-
applyTo
Applies the client's API credentials to an HTTP request.- Parameters:
httpRequestBuilder
-HttpRequest.Builder
- Throws:
IuAuthenticationException
- If authenticated credentials have expired or been revoked since initial authorization
-