Skip to content

Commit

Permalink
create auth methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tomirons committed Mar 6, 2024
1 parent 36566f1 commit dd27cc1
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Authentication/AuthenticationMethod.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace AndreasElia\PostmanGenerator\Authentication;

use Illuminate\Contracts\Support\Arrayable;

abstract class AuthenticationMethod implements Arrayable
{
//
}
11 changes: 11 additions & 0 deletions src/Authentication/Basic.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace AndreasElia\PostmanGenerator\Authentication;

class Basic extends AuthenticationMethod
{
public function toArray(): array
{
return [];
}
}
11 changes: 11 additions & 0 deletions src/Authentication/Bearer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace AndreasElia\PostmanGenerator\Authentication;

class Bearer extends AuthenticationMethod
{
public function toArray(): array
{
return [];
}
}

0 comments on commit dd27cc1

Please sign in to comment.