• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

malach-it / boruta_auth / 954161a5b397cc94069ec938dc16fcb785e37074-PR-29

18 Jan 2025 10:28PM UTC coverage: 85.651% (-4.3%) from 89.944%
954161a5b397cc94069ec938dc16fcb785e37074-PR-29

Pull #29

github

patatoid
refactor verifiable credentials status tokens
Pull Request #29: Agent credentials PoC

188 of 304 new or added lines in 20 files covered. (61.84%)

3 existing lines in 1 file now uncovered.

1552 of 1812 relevant lines covered (85.65%)

85.85 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/lib/boruta/adapters/agent_tokens.ex
1
defmodule Boruta.AgentTokensAdapter do
2
  @moduledoc """
3
  Encapsulate injected `Boruta.Oauth.AgentTokens` adapter in context configuration
4
  """
5

6
  @behaviour Boruta.Oauth.AgentTokens
7

8
  import Boruta.Config, only: [agent_tokens: 0]
9

10
  def get_by(params), do: agent_tokens().get_by(params)
2✔
11
  def create(params, opts), do: agent_tokens().create(params, opts)
17✔
NEW
12
  def revoke(token), do: agent_tokens().revoke(token)
×
NEW
13
  def revoke_refresh_token(token), do: agent_tokens().revoke_refresh_token(token)
×
14
  def claims_from_agent_token(token), do: agent_tokens().claims_from_agent_token(token)
1✔
15
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc