MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / VerifyOTP

Method VerifyOTP

internal/graphql/provider.go:196–196  ·  view source on GitHub ↗

VerifyOTP is the method to verify OTP. Permissions: authorized otp request

(ctx context.Context, params *model.VerifyOTPRequest)

Source from the content-addressed store, hash-verified

194 // VerifyOTP is the method to verify OTP.
195 // Permissions: authorized otp request
196 VerifyOTP(ctx context.Context, params *model.VerifyOTPRequest) (*model.AuthResponse, error)
197 // AuditLogs is the method to list audit logs.
198 // Permissions: authorizer:admin
199 AuditLogs(ctx context.Context, params *model.ListAuditLogRequest) (*model.AuditLogs, error)

Callers 7

TestResendOTPFunction · 0.65
TestVerifyOTPFunction · 0.65
TestVerifyOTPNoRecordFunction · 0.65
VerifyOtpMethod · 0.65
VerifyOTPMethod · 0.65
VerifyOtpMethod · 0.65

Calls

no outgoing calls

Tested by 4

TestResendOTPFunction · 0.52
TestVerifyOTPFunction · 0.52
TestVerifyOTPNoRecordFunction · 0.52