Skip to content

Commit 234734b

Browse files
fix(#25): this commit introduces overload for "generate access token async" to include audiences parameter
1 parent a72fed5 commit 234734b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Applications/Backend/Source/HttpsRichardy.Federation.Application/Services/ISecurityTokenService.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ public Task<Result<SecurityToken>> GenerateAccessTokenAsync(
77
CancellationToken cancellation = default
88
);
99

10+
public Task<Result<SecurityToken>> GenerateAccessTokenAsync(
11+
User user,
12+
IEnumerable<Audience> audiences,
13+
CancellationToken cancellation = default
14+
);
15+
1016
public Task<Result<SecurityToken>> GenerateAccessTokenAsync(
1117
Client client,
1218
CancellationToken cancellation = default
@@ -31,4 +37,4 @@ public Task<Result> RevokeRefreshTokenAsync(
3137
SecurityToken token,
3238
CancellationToken cancellation = default
3339
);
34-
}
40+
}

0 commit comments

Comments
 (0)