메소드 | 설명 | |
---|---|---|
WithAuthenticatedUser ( this httpRequestBuilder ) : IAndHttpRequestBuilder |
Sets default authenticated Microsoft.AspNetCore.Http.HttpContext.User to the built request with "TestId" identifier and "TestUser" username.
|
|
WithAuthenticatedUser ( this httpRequestBuilder, Action |
Sets custom authenticated Microsoft.AspNetCore.Http.HttpContext.User to the built request using the provided user builder.
|
public static WithAuthenticatedUser ( this httpRequestBuilder ) : IAndHttpRequestBuilder | ||
httpRequestBuilder | this | Instance of |
리턴 | IAndHttpRequestBuilder |
public static WithAuthenticatedUser ( this httpRequestBuilder, Action |
||
httpRequestBuilder | this | Instance of |
userBuilder | Action |
Action setting the |
리턴 | IAndHttpRequestBuilder |