원클릭으로
servicestack-authentication
Implements authentication using ServiceStack Auth Providers and session handling.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Implements authentication using ServiceStack Auth Providers and session handling.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | servicestack-authentication |
| description | Implements authentication using ServiceStack Auth Providers and session handling. |
ServiceStack provides a robust authentication system that supports multiple providers (Credentials, JWT, OAuth, etc.).
Authentication is enabled by registering the AuthFeature in AppHost.Configure.
Plugins.Add(new AuthFeature(() => new AuthUserSession(),
new IAuthProvider[] {
new CredentialsAuthProvider(), // Enable email/password login
new JwtAuthProvider(AppSettings) { ... } // Enable JWT
}));
A persistence layer (IAuthRepository) is required to store user accounts.
container.Register<IAuthRepository>(c =>
new OrmLiteAuthRepository(c.Resolve<IDbConnectionFactory>()));
Apply the [Authenticate] attribute to Service classes or Request DTOs.
[Authenticate]
public class MySecureRequest : IReturn<MyResponse> { ... }
Inside a Service, use GetSession() or the SessionBag.
var session = GetSession();
var userId = session.UserAuthId;
AuthUserSession if you need to store additional data in the user session.Designs stable, discoverable APIs using routes, metadata, and versioning conventions.
Applies role-, permission-, and ownership-based authorization using ServiceStack idioms.
Implements AutoQuery services, custom filters, and permission-aware querying.
Designs request/response DTOs using DTO-first, message-based ServiceStack conventions.
Controls OpenAPI / metadata exposure without compromising ServiceStack-first design.
Uses OrmLite via the implicit Db connection and understands transaction semantics and rollback behavior.