Cred_cache.ExpertSourceval get_credentials_for_user :
?tag_error_with_all_credentials:bool ->
?ensure_cached_valid_for_at_least:Core.Time_float.Span.t ->
flags:Krb_flags.Get_credentials.t list ->
t ->
request:Credentials.t ->
Credentials.t Async.Deferred.Or_error.tSee docs for get_credentials. The difference is that this function can get fresh tickets from the KDC where principal t is the server principal, rather than the client. The client may be any existing principal.