Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: laravel/sanctum

Tags

v4.2.0

Toggle v4.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[Refactor] Add indexes to personal_access_tokens (#571)

* Add Indexing to p_a_t

* Update 2019_12_14_000001_create_personal_access_tokens_table.php

---------

Co-authored-by: Taylor Otwell <[email protected]>

v4.1.2

Toggle v4.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: use text for token column (#570)

Co-authored-by: Ray Anthony <=>

v4.1.1

Toggle v4.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes inconsistency in Sanctum::currentApplicationUrlWithPort() and S…

…anctum::currentRequestHost() (#565)

* Fix on #564, making sure both Sanctum::currentApplicationUrlWithPort() and Sanctum::currentRequestHost() work in a similar way by prepending the url or placeholder with a comma.

* Fixing styling issues.

v4.1.0

Toggle v4.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Feature to treat same domain requests to be from frontend and make st…

…ateful (#564)

* Introducing the ability to dynamically include the request http host as a domain to be included in the stateful domain list.

* fixying styling issues

* fixying styling issues

* Refactoring to introduce a fixed token for Sanctum::currentRequestHost

* Fixing styling issue

* Update sanctum.php

* Update Sanctum.php

---------

Co-authored-by: Taylor Otwell <[email protected]>

v4.0.8

Toggle v4.0.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Supports Laravel 12 (#556)

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

---------

Signed-off-by: Mior Muhammad Zaki <[email protected]>

v4.0.7

Toggle v4.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[4.x] Add `tokenCant()` helper function to `HasApiTokens` (#552)

* [4.x] Add tokenCant helper function to `HasApiTokens`

* Simplified to just use the reverse of the tokenCan()

* fixed style issue

v4.0.6

Toggle v4.0.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add leading slash to @template tag in HasTokens (#550)

Psalm on my project got confused when it was taken away, reporting:
```
ERROR: UndefinedClass - app/Models/User.php:31:7 - Class, interface or enum named Laravel\Sanctum\Laravel\Sanctum\Contracts\HasAbilities does not exist (see https://psalm.dev/019)
class User extends Authenticatable
```
essentially doubling up the namespace.

v4.0.5

Toggle v4.0.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[4.x] Remove generic requirement that token is an instance of a Model (

…#549)

* Update HasApiTokens.php

* Update Sanctum.php

v4.0.4

Toggle v4.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[4.x] Add generics (#545)

* add generics

* more generics

* add template

v4.0.3

Toggle v4.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update logo to support dark/light theme (#536)

* Update logo.svg

* Update README.md