Skip to content

Commit

Permalink
Relevant name for the event.
Browse files Browse the repository at this point in the history
  • Loading branch information
nowakweronika committed Dec 1, 2023
1 parent 8f85334 commit ef3bd73
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@ object AuthenticationFinishedFailureEvent : AuthenticatingEvent {
object GetAccessTokenStartedEvent : AuthenticatingEvent {
override val name: String = "action_start"
override val parameters: List<EventParameter> = listOf(
EventParameter.String("item_name", "authentication")
EventParameter.String("item_name", "get_access_token")
)
}

object GetAccessTokenFinishedSuccessEvent : AuthenticatingEvent {
override val name: String = "action_finished"
override val parameters: List<EventParameter> = listOf(
EventParameter.String("item_name", "authentication"),
EventParameter.String("item_name", "get_access_token"),
EventParameter.Boolean("success", true)
)
}

object GetAccessTokenFinishedFailureEvent : AuthenticatingEvent {
override val name: String = "action_finished"
override val parameters: List<EventParameter> = listOf(
EventParameter.String("item_name", "authentication"),
EventParameter.String("item_name", "get_access_token"),
EventParameter.Boolean("success", false)
)
}
Expand Down

0 comments on commit ef3bd73

Please sign in to comment.